共用方式為


Scripter.Options 屬性

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

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
Public Property Options As ScriptingOptions 
    Get 
    Set
'用途
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)

屬性值

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

範例

指令碼

請參閱

參考

Scripter 類別

Microsoft.SqlServer.Management.Smo 命名空間