Partager via


BackupDirectory propriété

Gets the backup directory for the instance of 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")> _
ReadOnly Property BackupDirectory As String
    Get
'Utilisation
Dim instance As IServerSetupFacet
Dim value As String

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

Valeur de la propriété

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