Condividi tramite


Proprietà IServerSettings.BackupDirectory

Gets or sets the BackupDirectory property for an instance SQL Server.

Spazio dei nomi  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Sintassi

'Dichiarazione
<DisplayDescriptionKeyAttribute("Server_BackupDirectoryDesc")> _
<DisplayNameKeyAttribute("Server_BackupDirectoryName")> _
Property BackupDirectory As String 
    Get 
    Set
'Utilizzo
Dim instance As IServerSettings 
Dim value As String 

value = instance.BackupDirectory

instance.BackupDirectory = value
[DisplayDescriptionKeyAttribute("Server_BackupDirectoryDesc")]
[DisplayNameKeyAttribute("Server_BackupDirectoryName")]
string BackupDirectory { get; set; }
[DisplayDescriptionKeyAttribute(L"Server_BackupDirectoryDesc")]
[DisplayNameKeyAttribute(L"Server_BackupDirectoryName")]
property String^ BackupDirectory {
    String^ get ();
    void set (String^ value);
}
[<DisplayDescriptionKeyAttribute("Server_BackupDirectoryDesc")>]
[<DisplayNameKeyAttribute("Server_BackupDirectoryName")>]
abstract BackupDirectory : string with get, set
function get BackupDirectory () : String 
function set BackupDirectory (value : String)

Valore proprietà

Tipo: System.String
The BackupDirectory property for an instance SQL Server.

Vedere anche

Riferimento

IServerSettings Interfaccia

Spazio dei nomi Microsoft.SqlServer.Management.Smo