Parent Property

SQL-DMO

SQL-DMO

Parent Property

The Parent property returns the SQL-DMO object owning the referenced SQL-DMO object.

Applies To

All objects

Syntax

object.Parent

Parts

object

Expression that evaluates to an object in the Applies To list

Data Type

Object

Modifiable

Read-only

Prototype (C/C++)

HRESULT GetParent(LPSQLDMOSTDOBJECT* ppParent);

Note  A C/C++ application obtains a reference on the parent object. The application must release its reference using the IUnknown::Release function.