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
<DisplayDescriptionKeyAttribute("Server_MasterDBLogPathDesc")> _
<DisplayNameKeyAttribute("Server_MasterDBLogPathName")> _
ReadOnly Property MasterDBLogPath As String
    Get
'Usage
Dim instance As IServerInformation
Dim value As String

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

Property Value

Type: System.String
String