Compartir a través de


DefaultLog Propiedad

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

Espacio de nombres:  Microsoft.SqlServer.Management.Smo
Ensamblado:  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Sintaxis

'Declaración
<DisplayDescriptionKeyAttribute("Server_DefaultLogDesc")> _
<DisplayNameKeyAttribute("Server_DefaultLogName")> _
ReadOnly Property DefaultLog As String
    Get
'Uso
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

Valor de la propiedad

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