IServerSettings.DefaultFile Property
Gets or sets the DefaultFile property for an instance of SQL Server.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Bildirim
<DisplayNameKeyAttribute("Server_DefaultFileName")> _
<DisplayDescriptionKeyAttribute("Server_DefaultFileDesc")> _
Property DefaultFile As String
Get
Set
'Kullanım
Dim instance As IServerSettings
Dim value As String
value = instance.DefaultFile
instance.DefaultFile = value
[DisplayNameKeyAttribute("Server_DefaultFileName")]
[DisplayDescriptionKeyAttribute("Server_DefaultFileDesc")]
string DefaultFile { get; set; }
[DisplayNameKeyAttribute(L"Server_DefaultFileName")]
[DisplayDescriptionKeyAttribute(L"Server_DefaultFileDesc")]
property String^ DefaultFile {
String^ get ();
void set (String^ value);
}
[<DisplayNameKeyAttribute("Server_DefaultFileName")>]
[<DisplayDescriptionKeyAttribute("Server_DefaultFileDesc")>]
abstract DefaultFile : string with get, set
function get DefaultFile () : String
function set DefaultFile (value : String)
Property Value
Type: System.String
The DefaultFile property for an instance of SQL Server.