PrimaryFilePath 屬性
命名空間: Microsoft.SqlServer.Management.Smo
組件: Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)
語法
'宣告
<DisplayNameKeyAttribute("Database_PrimaryFilePathName")> _
<DisplayDescriptionKeyAttribute("Database_PrimaryFilePathDesc")> _
ReadOnly Property PrimaryFilePath As String
Get
'用途
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