Propriété ScriptOption.DriPrimaryKey
Gets an object value that specifies whether dependency relationships defined in primary keys with enforced declarative referential integrity are included in the script.
Espace de noms : Microsoft.SqlServer.Management.Smo
Assembly : Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)
Syntaxe
'Déclaration
Public Shared ReadOnly Property DriPrimaryKey As ScriptOption
Get
'Utilisation
Dim value As ScriptOption
value = ScriptOption.DriPrimaryKey
public static ScriptOption DriPrimaryKey { get; }
public:
static property ScriptOption^ DriPrimaryKey {
ScriptOption^ get ();
}
static member DriPrimaryKey : ScriptOption
static function get DriPrimaryKey () : ScriptOption
Valeur de propriété
Type : Microsoft.SqlServer.Management.Smo.ScriptOption
A ScriptOption object that represents the DriPrimaryKeyin the scripting options.