Udostępnij przez


Właściwość IServerSetupFacet.DefaultLog

Pobiera domyślny plik dziennika dla wystąpienie SQL Server.

Przestrzeń nazw:  Microsoft.SqlServer.Management.Smo
Zestaw:  Microsoft.SqlServer.Smo (w Microsoft.SqlServer.Smo.dll)

Składnia

'Deklaracja
<DisplayNameKeyAttribute("Server_DefaultLogName")> _
<DisplayDescriptionKeyAttribute("Server_DefaultLogDesc")> _
ReadOnly Property DefaultLog As String
    Get
'Użycie
Dim instance As IServerSetupFacet
Dim value As String

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

Wartość właściwości

Typ: System.String
A String wartość określająca domyślny plik dziennika dla wystąpienie SQL Server.