共用方式為


WriteOemErrorLog 屬性

Gets or sets the Boolean property value that specifies whether to write the error log to a non-Unicode file or not.

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

語法

'宣告
<SfcPropertyAttribute> _
Public Property WriteOemErrorLog As Boolean
    Get
    Set
'用途
Dim instance As JobServer
Dim value As Boolean

value = instance.WriteOemErrorLog

instance.WriteOemErrorLog = value
[SfcPropertyAttribute]
public bool WriteOemErrorLog { get; set; }
[SfcPropertyAttribute]
public:
property bool WriteOemErrorLog {
    bool get ();
    void set (bool value);
}
[<SfcPropertyAttribute>]
member WriteOemErrorLog : bool with get, set
function get WriteOemErrorLog () : boolean
function set WriteOemErrorLog (value : boolean)

屬性值

型別:System. . :: . .Boolean
A Boolean value that specifies whether the error log is written to a non-Unicode file or not.
If True, the error log is written to a non-Unicode file.
If False (default), the error log is not written to a non-Unicode file.