共用方式為


BackupDirectory 屬性

Gets the default backup directory for the instance of Microsoft SQL Server.

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
<SfcPropertyAttribute> _
Public Property BackupDirectory As String
    Get
    Set
'用途
Dim instance As Settings
Dim value As String

value = instance.BackupDirectory

instance.BackupDirectory = value
[SfcPropertyAttribute]
public string BackupDirectory { get; set; }
[SfcPropertyAttribute]
public:
property String^ BackupDirectory {
    String^ get ();
    void set (String^ value);
}
[<SfcPropertyAttribute>]
member BackupDirectory : string with get, set
function get BackupDirectory () : String
function set BackupDirectory (value : String)

屬性值

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