Udostępnij za pośrednictwem


Właściwość Settings.BackupDirectory

Gets the default backup directory for the instance of Microsoft SQL Server.

Przestrzeń nazw:  Microsoft.SqlServer.Management.Smo
Zestaw:  Microsoft.SqlServer.Smo (w Microsoft.SqlServer.Smo.dll)

Składnia

'Deklaracja
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property BackupDirectory As String
    Get
    Set
'Użycie
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)

Wartość właściwości

Typ: System.String
A String , który określa domyślną ścieżka katalogu kopia zapasowa wystąpienie wartości SQL Server.