Parent Property
Questa caratteristica verrà rimossa a partire da una delle prossime versioni di Microsoft SQL Server. Evitare di utilizzare questa caratteristica in un nuovo progetto di sviluppo e prevedere interventi di modifica nelle applicazioni in cui è attualmente implementata.
The Parent property returns the SQL Distributed Management Objects (SQL-DMO) object owning the referenced SQL-DMO object.
Sintassi
object
.Parent
Parts
- object
An expression that evaluates to an object in the Applies To list
Data Type
Object
Modifiable
Read-only
Prototype (C/C++)
HRESULT GetParent(LPSQLDMOSTDOBJECT* ppParent);
Nota
A C/C++ application obtains a reference on the parent object. The application must release its reference using the IUnknown::Releasefunction.
Applies To:
All objects