ISdoCollection::IsNameUnique method

The IsNameUnique method tests whether the specified name is unique in the collection.

Syntax

HRESULT IsNameUnique(
  BSTR         bstrName,
  VARIANT_BOOL *pBool
);

Parameters

bstrName

Specifies the name to test.

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

   
Windows version None supported Windows Server 2008
Target Platform Windows
Header sdoias.h
DLL Iassdo.dll

See Also

Adding an Object to a Collection

IASCOMMONPROPERTIES

ISdoCollection

ISdoCollection::Add

VARIANT