DefaultLog 属性

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

命名空间:  Microsoft.SqlServer.Management.Smo
程序集:  Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)

语法

声明
<DisplayNameKeyAttribute("Server_DefaultLogName")> _
<DisplayDescriptionKeyAttribute("Server_DefaultLogDesc")> _
ReadOnly Property DefaultLog As String
    Get
用法
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

属性值

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

示例

设置属性