Share via


IServerInformation.MasterDBLogPath Property

Gets the master database log path for the instance of SQL Server.

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

Syntax

'Declaration
<DisplayNameKeyAttribute("Server_MasterDBLogPathName")> _
<DisplayDescriptionKeyAttribute("Server_MasterDBLogPathDesc")> _
ReadOnly Property MasterDBLogPath As String
    Get
'Usage
Dim instance As IServerInformation
Dim value As String

value = instance.MasterDBLogPath
[DisplayNameKeyAttribute("Server_MasterDBLogPathName")]
[DisplayDescriptionKeyAttribute("Server_MasterDBLogPathDesc")]
string MasterDBLogPath { get; }
[DisplayNameKeyAttribute(L"Server_MasterDBLogPathName")]
[DisplayDescriptionKeyAttribute(L"Server_MasterDBLogPathDesc")]
property String^ MasterDBLogPath {
    String^ get ();
}
[<DisplayNameKeyAttribute("Server_MasterDBLogPathName")>]
[<DisplayDescriptionKeyAttribute("Server_MasterDBLogPathDesc")>]
abstract MasterDBLogPath : string
function get MasterDBLogPath () : String

Property Value

Type: System.String
String