Aracılığıyla paylaş


IServerSetupFacet.DefaultLog Property

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

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

Syntax

'Bildirim
<DisplayDescriptionKeyAttribute("Server_DefaultLogDesc")> _
<DisplayNameKeyAttribute("Server_DefaultLogName")> _
ReadOnly Property DefaultLog As String
    Get
'Kullanım
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

Property Value

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

Examples

Setting Properties

See Also

Reference

IServerSetupFacet Interface

Microsoft.SqlServer.Management.Smo Namespace