Note
Kailangan ng pahintulot para ma-access ang page na ito. Maaari mong subukang mag-sign in o magpalit ng mga direktoryo.
Ang pag-access sa pahinang ito ay nangangailangan ng pahintulot. Maaari mong subukang baguhin ang mga direktoryo.
Retrieves an enumeration of IRelationship objects, one for each relationship this entity has.
Syntax
HRESULT Relationships(
[in] REFIID riid,
[out, retval] void **pRelationships
);
Parameters
[in] riid
Type: REFIID
The desired IID of the result, either IID_IEnumUnknown or IID_IEnumVARIANT.
[out, retval] pRelationships
Type: void**
Receives the address of a pointer to the enumeration of the IRelationship objects.
Return value
Type: HRESULT
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows XP with SP2, Windows Vista [desktop apps only] |
| Minimum supported server | Windows Server 2003 with SP1 [desktop apps only] |
| Target Platform | Windows |
| Header | structuredquery.h |
| Redistributable | Windows Desktop Search (WDS) 3.0 |