Dela via


Scripter.Options Property

Gets or sets the scripting options for the Scripter object and all the scripting operations on the instance of SQL Server.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
Public Property Options As ScriptingOptions
    Get
    Set
'Usage
Dim instance As Scripter
Dim value As ScriptingOptions

value = instance.Options

instance.Options = value
public ScriptingOptions Options { get; set; }
public:
property ScriptingOptions^ Options {
    ScriptingOptions^ get ();
    void set (ScriptingOptions^ value);
}
member Options : ScriptingOptions with get, set
function get Options () : ScriptingOptions
function set Options (value : ScriptingOptions)

Property Value

Type: Microsoft.SqlServer.Management.Smo.ScriptingOptions
A ScriptingOptions object value that specifies the scripting options that the instance of SQL Server uses.

Examples

Scripting