Freigeben über


ScriptOption.PrimaryObject-Eigenschaft

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

Eigenschaftswert

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

Beispiele

Skripterstellung

Siehe auch

Verweis

ScriptOption Klasse

Microsoft.SqlServer.Management.Smo-Namespace