Freigeben über


BackupDirectory-Eigenschaft

Ruft das Standardsicherungsverzeichnis für die Microsoft SQL Server-Instanz ab.

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

Syntax

'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property BackupDirectory As String
    Get
    Set
'Usage
Dim instance As Settings
Dim value As String

value = instance.BackupDirectory

instance.BackupDirectory = value
[SfcPropertyAttribute(SfcPropertyFlags.Standalone)]
public string BackupDirectory { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::Standalone)]
public:
property String^ BackupDirectory {
    String^ get ();
    void set (String^ value);
}
[<SfcPropertyAttribute(SfcPropertyFlags.Standalone)>]
member BackupDirectory : string with get, set
function get BackupDirectory () : String
function set BackupDirectory (value : String)

Eigenschaftswert

Typ: System. . :: . .String
Ein String-Wert, der den Pfad des Standardsicherungsverzeichnisses für die SQL Server-Instanz angibt.