Свойство 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.