Udostępnij przez


IDatabaseOptions.PrimaryFilePath Property

This property is not CLS-compliant.

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

Syntax

'Deklaracja
<DisplayNameKeyAttribute("Database_PrimaryFilePathName")> _
<DisplayDescriptionKeyAttribute("Database_PrimaryFilePathDesc")> _
ReadOnly Property PrimaryFilePath As String
[DisplayNameKeyAttribute("Database_PrimaryFilePathName")] 
[DisplayDescriptionKeyAttribute("Database_PrimaryFilePathDesc")] 
string PrimaryFilePath { get; }
[DisplayNameKeyAttribute(L"Database_PrimaryFilePathName")] 
[DisplayDescriptionKeyAttribute(L"Database_PrimaryFilePathDesc")] 
property String^ PrimaryFilePath {
    String^ get ();
}
/** @property */
String get_PrimaryFilePath ()
function get PrimaryFilePath () : String

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.