Parent Property
未來的 Microsoft SQL Server 版本將移除這項功能。請避免在新的開發工作中使用這項功能,並規劃修改目前使用這項功能的應用程式。
The Parent property returns the SQL Distributed Management Objects (SQL-DMO) object owning the referenced SQL-DMO object.
語法
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);
[!附註]
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