Condividi tramite


Proprietà DefaultLog

Gets the default log file for the instance of SQL Server.

Spazio dei nomi  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Sintassi

'Dichiarazione
<DisplayDescriptionKeyAttribute("Server_DefaultLogDesc")> _
<DisplayNameKeyAttribute("Server_DefaultLogName")> _
ReadOnly Property DefaultLog As String
    Get
'Utilizzo
Dim instance As IServerSetupFacet
Dim value As String

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

Valore proprietà

Tipo: System. . :: . .String
A String value that specifies the default log file for the instance of SQL Server.