IServerSettings.DefaultFile Property
Gets or sets the DefaultFile property for an 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")> _
Property DefaultFile As String
[DisplayDescriptionKeyAttribute("Server_DefaultFileDesc")]
[DisplayNameKeyAttribute("Server_DefaultFileName")]
string DefaultFile { get; set; }
[DisplayDescriptionKeyAttribute(L"Server_DefaultFileDesc")]
[DisplayNameKeyAttribute(L"Server_DefaultFileName")]
property String^ DefaultFile {
String^ get ();
void set (String^ value);
}
/** @property */
String get_DefaultFile ()
/** @property */
void set_DefaultFile (String value)
function get DefaultFile () : String
function set DefaultFile (value : String)
Property Value
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.