共用方式為


Encoding 屬性

Gets or sets the encoding for the scripting options.

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

語法

'宣告
Public Property Encoding As Encoding
    Get
    Set
'用途
Dim instance As ScriptingOptions
Dim value As Encoding

value = instance.Encoding

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

屬性值

型別:System.Text. . :: . .Encoding
An Encoding object that specifies the encoding for the scripting options

範例

指令碼