Compartir a través de


Settings.BackupDirectory Propiedad

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

Espacio de nombres:  Microsoft.SqlServer.Management.Smo
Ensamblado:  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Sintaxis

'Declaración
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property BackupDirectory As String 
    Get 
    Set
'Uso
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)

Valor de la propiedad

Tipo: System.String
A String value that specifies the default backup directory path for the instance of SQL Server.

Ejemplos

Configurar SQL Server en SMO

Vea también

Referencia

Settings Clase

Espacio de nombres Microsoft.SqlServer.Management.Smo