IServerSettings.BackupDirectory 屬性
Gets or sets the BackupDirectory property for an instance SQL Server.
命名空間: Microsoft.SqlServer.Management.Smo
組件: Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)
語法
'宣告
<DisplayDescriptionKeyAttribute("Server_BackupDirectoryDesc")> _
<DisplayNameKeyAttribute("Server_BackupDirectoryName")> _
Property BackupDirectory As String
Get
Set
'用途
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)
屬性值
型別:System.String
The BackupDirectory property for an instance SQL Server.