IServerSettings.DefaultLog Property

Gets or sets the DefaultLog property for a String.

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

Syntax

'Declaration
<DisplayDescriptionKeyAttribute("Server_DefaultLogDesc")> _
<DisplayNameKeyAttribute("Server_DefaultLogName")> _
Property DefaultLog As String
    Get
    Set
'Usage
Dim instance As IServerSettings
Dim value As String

value = instance.DefaultLog

instance.DefaultLog = value
[DisplayDescriptionKeyAttribute("Server_DefaultLogDesc")]
[DisplayNameKeyAttribute("Server_DefaultLogName")]
string DefaultLog { get; set; }
[DisplayDescriptionKeyAttribute(L"Server_DefaultLogDesc")]
[DisplayNameKeyAttribute(L"Server_DefaultLogName")]
property String^ DefaultLog {
    String^ get ();
    void set (String^ value);
}
[<DisplayDescriptionKeyAttribute("Server_DefaultLogDesc")>]
[<DisplayNameKeyAttribute("Server_DefaultLogName")>]
abstract DefaultLog : string with get, set
function get DefaultLog () : String
function set DefaultLog (value : String)

Property Value

Type: System.String
String