Share via


Propriété DefaultFile

Obtient ou définit la valeur de la propriété DefaultFile.

Espace de noms :  Microsoft.SqlServer.Management.Smo
Assembly :  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property DefaultFile As String
    Get
    Set
'Utilisation
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)

Valeur de propriété

Type : System. . :: . .String
String

Implémente

IServerSettings. . :: . .DefaultFile