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.