Partager via


BackupDirectory propriété

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

Espace de noms :  Microsoft.SqlServer.Management.Smo
Assembly :  Microsoft.SqlServer.Smo (dans Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
<DisplayDescriptionKeyAttribute("Server_BackupDirectoryDesc")> _
<DisplayNameKeyAttribute("Server_BackupDirectoryName")> _
Property BackupDirectory As String
    Get
    Set
'Utilisation
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)

Valeur de la propriété

Type : System. . :: . .String
String