Partager via


Propriété IServerSetupFacet.DefaultLog

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

Espace de noms :  Microsoft.SqlServer.Management.Smo
Assembly :  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
<DisplayNameKeyAttribute("Server_DefaultLogName")> _
<DisplayDescriptionKeyAttribute("Server_DefaultLogDesc")> _
ReadOnly Property DefaultLog As String 
    Get
'Utilisation
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

Valeur de propriété

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

Exemples

Définition de propriétés

Voir aussi

Référence

IServerSetupFacet Interface

Espace de noms Microsoft.SqlServer.Management.Smo