Propriedade BackupDirectory
Gets or sets the BackupDirectory property for an instance SQL Server.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (em Microsoft.SqlServer.Smo.dll)
Sintaxe
'Declaração
<DisplayDescriptionKeyAttribute("Server_BackupDirectoryDesc")> _
<DisplayNameKeyAttribute("Server_BackupDirectoryName")> _
Property BackupDirectory As String
Get
Set
'Uso
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)
Valor da propriedade
Tipo: System. . :: . .String
String
Consulte também