ISdoCollection::IsNameUnique method (sdoias.h)
The IsNameUnique method tests whether the specified name is unique in the collection.
Syntax
HRESULT IsNameUnique(
[in] BSTR bstrName,
[out] VARIANT_BOOL *pBool
);
Parameters
[in] bstrName
Specifies the name to test.
[out] pBool
Pointer to a VARIANT that specifies whether the name is unique. The returned value is VARIANT_TRUE if the name is unique, VARIANT_FALSE otherwise.
Return value
If the method succeeds the return value is S_OK.
If the method fails, the return value is one of the following error codes.
Remarks
Neither of the parameters may be NULL.
Requirements
Requirement | Value |
---|---|
Minimum supported client | None supported |
Minimum supported server | Windows Server 2008 |
Target Platform | Windows |
Header | sdoias.h |
DLL | Iassdo.dll |