Share via


JobServer.WriteOemErrorLog Property

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

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

Syntax

'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.Standalone Or SfcPropertyFlags.SqlAzureDatabase)> _
Public Property WriteOemErrorLog As Boolean 
    Get 
    Set
'Usage
Dim instance As JobServer 
Dim value As Boolean 

value = instance.WriteOemErrorLog

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

Property Value

Type: 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.

Examples

Scheduling Automatic Administrative Tasks in SQL Server Agent

See Also

Reference

JobServer Class

Microsoft.SqlServer.Management.Smo.Agent Namespace

Other Resources

Automated Administration Tasks (SQL Server Agent)

SQL Server Agent Stored Procedures (Transact-SQL)