Partager via


DriAllKeys propriété

Gets an object value that specifies whether all DRI keys (DriForeignKeys, DriPrimaryKey, DriUniqueKeys) are included in the generated script.

Espace de noms :  Microsoft.SqlServer.Management.Smo
Assembly :  Microsoft.SqlServer.Smo (dans Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
Public Shared ReadOnly Property DriAllKeys As ScriptOption
    Get
'Utilisation
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

Valeur de la propriété

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