IDatabaseOptions.PrimaryFilePath Property

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

Syntax

'Declaration
<DisplayNameKeyAttribute("Database_PrimaryFilePathName")> _
<DisplayDescriptionKeyAttribute("Database_PrimaryFilePathDesc")> _
ReadOnly Property PrimaryFilePath As String
    Get
'Usage
Dim instance As IDatabaseOptions
Dim value As String

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

Property Value

Type: System.String