Server.BackupDirectory Property

Gets or sets the BackupDirectory property value.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property BackupDirectory As String 
    Get 
    Set
'Usage
Dim instance As Server 
Dim value As String 

value = instance.BackupDirectory

instance.BackupDirectory = value
[SfcPropertyAttribute(SfcPropertyFlags.Standalone)]
public string BackupDirectory { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::Standalone)]
public:
virtual property String^ BackupDirectory {
    String^ get () sealed;
    void set (String^ value) sealed;
}
[<SfcPropertyAttribute(SfcPropertyFlags.Standalone)>]
abstract BackupDirectory : string with get, set
[<SfcPropertyAttribute(SfcPropertyFlags.Standalone)>]
override BackupDirectory : string with get, set
final function get BackupDirectory () : String 
final function set BackupDirectory (value : String)

Property Value

Type: System.String
The BackupDirectory property value.

Implements

IServerSettings.BackupDirectory

See Also

Reference

Server Class

Microsoft.SqlServer.Management.Smo Namespace