Compartilhar via


Propriedade do RDL DatabaseCollection.Parent

Gets the Server object that is the parent of the Database object.

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

Sintaxe

'Declaração
Public ReadOnly Property Parent As Server 
    Get
'Uso
Dim instance As DatabaseCollection 
Dim value As Server 

value = instance.Parent
public Server Parent { get; }
public:
property Server^ Parent {
    Server^ get ();
}
member Parent : Server
function get Parent () : Server

Valor da propriedade

Tipo: Microsoft.SqlServer.Management.Smo.Server
A Server object that is the parent of the Database object.

Exemplos

Usando coleções

Consulte também

Referência

DatabaseCollection Classe

Namespace Microsoft.SqlServer.Management.Smo