Delen via


ScriptOption.ScriptOwner Property

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 ScriptOwner As ScriptOption 
    Get
'Usage
Dim value As ScriptOption 

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

Property Value

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

Examples

Scripting

See Also

Reference

ScriptOption Class

Microsoft.SqlServer.Management.Smo Namespace