Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
Property Value
Type: Microsoft.SqlServer.Management.Smo.ScriptOption
A ScriptOption object that represents PrimaryObject in the scripting options.