Propriété BackupDevice.Parent

Gets the Server object that owns the BackupDevice object.

Espace de noms :  Microsoft.SqlServer.Management.Smo
Assembly :  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
<SfcObjectAttribute(SfcObjectRelationship.ParentObject)> _
Public Property Parent As Server 
    Get 
    Set
'Utilisation
Dim instance As BackupDevice 
Dim value As Server 

value = instance.Parent

instance.Parent = value
[SfcObjectAttribute(SfcObjectRelationship.ParentObject)]
public Server Parent { get; set; }
[SfcObjectAttribute(SfcObjectRelationship::ParentObject)]
public:
property Server^ Parent {
    Server^ get ();
    void set (Server^ value);
}
[<SfcObjectAttribute(SfcObjectRelationship.ParentObject)>]
member Parent : Server with get, set
function get Parent () : Server 
function set Parent (value : Server)

Valeur de propriété

Type : Microsoft.SqlServer.Management.Smo.Server
A Server object value that is the parent of the BackupDevice object.

Exemples

Sauvegarde et restauration des bases de données et journaux de transactions

Voir aussi

Référence

BackupDevice Classe

Espace de noms Microsoft.SqlServer.Management.Smo

Autres ressources

Unités de sauvegarde (SQL Server)