Share via


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(SfcPropertyFlags.Standalone)> _
Public Property DefaultFile As String 
    Get 
    Set
'Usage
Dim instance As Server 
Dim value As String 

value = instance.DefaultFile

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

Property Value

Type: System.String
The DefaultFile property value.

Implements

IServerSettings.DefaultFile

See Also

Reference

Server Class

Microsoft.SqlServer.Management.Smo Namespace