Server.DefaultFile Property

Gets or sets the DefaultFile property value.

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

Syntax

'Declaration
<SfcPropertyAttribute> _
Public Property DefaultFile As String
    Get
    Set
'Usage
Dim instance As Server
Dim value As String

value = instance.DefaultFile

instance.DefaultFile = value
[SfcPropertyAttribute]
public string DefaultFile { get; set; }
[SfcPropertyAttribute]
public:
virtual property String^ DefaultFile {
    String^ get () sealed;
    void set (String^ value) sealed;
}
[<SfcPropertyAttribute>]
abstract DefaultFile : string with get, set
[<SfcPropertyAttribute>]
override DefaultFile : string with get, set
final function get DefaultFile () : String
final function set DefaultFile (value : String)

Property Value

Type: System.String
String

Implements

IServerSettings.DefaultFile