BackupDirectory 属性

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

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

语法

声明
<DisplayNameKeyAttribute("Server_BackupDirectoryName")> _
<DisplayDescriptionKeyAttribute("Server_BackupDirectoryDesc")> _
Property BackupDirectory As String
    Get
    Set
用法
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)

属性值

类型:System. . :: . .String
String