Compartilhar via


Propriedade DriAllKeys

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 (em Microsoft.SqlServer.Smo.dll)

Sintaxe

'Declaração
Public Shared ReadOnly Property DriAllKeys As ScriptOption
    Get
'Uso
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

Valor da propriedade

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

Exemplos

Gerando scripts