Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Gets an object value that specifies whether PRIMARY KEY constraints using a unique index to implement the declarative referential integrity are included in the generated script.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
Public Shared ReadOnly Property DriIndexes As ScriptOption
Get
'Usage
Dim value As ScriptOption
value = ScriptOption.DriIndexes
public static ScriptOption DriIndexes { get; }
public:
static property ScriptOption^ DriIndexes {
ScriptOption^ get ();
}
static member DriIndexes : ScriptOption
static function get DriIndexes () : ScriptOption
Property Value
Type: Microsoft.SqlServer.Management.Smo.ScriptOption
A ScriptOption object that represents the DriIndexesin the scripting options.
Remarks
This option only applies when scripting a table.