Udostępnij przez


IServerSetupFacet.DefaultFile Property

Gets the default file for the instance of SQL Server. This property is not CLS-compliant.

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

Syntax

'Deklaracja
<DisplayDescriptionKeyAttribute("Server_DefaultFileDesc")> _
<DisplayNameKeyAttribute("Server_DefaultFileName")> _
ReadOnly Property DefaultFile As String
[DisplayDescriptionKeyAttribute("Server_DefaultFileDesc")] 
[DisplayNameKeyAttribute("Server_DefaultFileName")] 
string DefaultFile { get; }
[DisplayDescriptionKeyAttribute(L"Server_DefaultFileDesc")] 
[DisplayNameKeyAttribute(L"Server_DefaultFileName")] 
property String^ DefaultFile {
    String^ get ();
}
/** @property */
String get_DefaultFile ()
function get DefaultFile () : String

Property Value

A String value that specifies the default file for the instance of SQL Server.

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.