BackupDirectory 屬性
取得 MicrosoftSQL Server 執行個體的預設備份目錄。
命名空間: Microsoft.SqlServer.Management.Smo
組件: Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)
語法
'宣告
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property BackupDirectory As String
Get
Set
'用途
Dim instance As Settings
Dim value As String
value = instance.BackupDirectory
instance.BackupDirectory = value
[SfcPropertyAttribute(SfcPropertyFlags.Standalone)]
public string BackupDirectory { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::Standalone)]
public:
property String^ BackupDirectory {
String^ get ();
void set (String^ value);
}
[<SfcPropertyAttribute(SfcPropertyFlags.Standalone)>]
member BackupDirectory : string with get, set
function get BackupDirectory () : String
function set BackupDirectory (value : String)
屬性值
型別:System. . :: . .String
指定 SQL Server 執行個體之預設備份目錄路徑的 String 值。