다음을 통해 공유


IDatabaseOptions.PrimaryFilePath 속성

Gets the primary database file path.

네임스페이스:  Microsoft.SqlServer.Management.Smo
어셈블리:  Microsoft.SqlServer.Smo(Microsoft.SqlServer.Smo.dll)

구문

‘선언
<DisplayDescriptionKeyAttribute("Database_PrimaryFilePathDesc")> _
<DisplayNameKeyAttribute("Database_PrimaryFilePathName")> _
ReadOnly Property PrimaryFilePath As String 
    Get
‘사용 방법
Dim instance As IDatabaseOptions 
Dim value As String 

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

속성 값

유형: System.String
A String value containing the primary file path.

참고 항목

참조

IDatabaseOptions 인터페이스

Microsoft.SqlServer.Management.Smo 네임스페이스