Parent Property

Cette fonctionnalité sera supprimée dans une prochaine version de Microsoft SQL Server. Évitez d'utiliser cette fonctionnalité dans de nouveaux travaux de développement et prévoyez de modifier les applications qui utilisent actuellement cette fonctionnalité.

The Parent property returns the SQL Distributed Management Objects (SQL-DMO) object owning the referenced SQL-DMO object.

Syntaxe

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);

[!REMARQUE]

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