Freigeben über


DriAllKeys-Eigenschaft

Gets an object value that specifies whether all DRI keys (DriForeignKeys, DriPrimaryKey, DriUniqueKeys) 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 DriAllKeys As ScriptOption
    Get
'Usage
Dim value As ScriptOption

value = ScriptOption.DriAllKeys
public static ScriptOption DriAllKeys { get; }
public:
static property ScriptOption^ DriAllKeys {
    ScriptOption^ get ();
}
static member DriAllKeys : ScriptOption
static function get DriAllKeys () : ScriptOption

Eigenschaftenwert

Typ: Microsoft.SqlServer.Management.Smo. . :: . .ScriptOption
A ScriptOption object that represents the DriAllKeysin the scripting options.

Beispiele

Skripterstellung