Partager via


PrimaryObject propriété

Gets an object value that specifies whether the creation of the referenced object is 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 PrimaryObject As ScriptOption
    Get
'Utilisation
Dim value As ScriptOption

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

Valeur de la propriété

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