Поделиться через


Свойство 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