ScriptingOptions.Encoding Property

Gets or sets the encoding for the scripting options.

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

Syntax

'Declaration
Public Property Encoding As Encoding
    Get
    Set
'Usage
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)

Property Value

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

Examples

Scripting