IServerSetupFacet.BackupDirectory 属性

Gets the backup directory for the instance of SQL Server.

命名空间:  Microsoft.SqlServer.Management.Smo
程序集:  Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)

语法

声明
<DisplayNameKeyAttribute("Server_BackupDirectoryName")> _
<DisplayDescriptionKeyAttribute("Server_BackupDirectoryDesc")> _
ReadOnly Property BackupDirectory As String 
    Get
用法
Dim instance As IServerSetupFacet 
Dim value As String 

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

属性值

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

示例

设置属性

请参阅

参考

IServerSetupFacet 接口

Microsoft.SqlServer.Management.Smo 命名空间