Partilhar via


Propriedade do RDL BackupDirectory

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

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

Sintaxe

'Declaração
<DisplayNameKeyAttribute("Server_BackupDirectoryName")> _
<DisplayDescriptionKeyAttribute("Server_BackupDirectoryDesc")> _
Property BackupDirectory As String
    Get
    Set
'Uso
Dim instance As IServerSettings
Dim value As String

value = instance.BackupDirectory

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

Valor da propriedade

Tipo: System. . :: . .String
String