IAzApplication3::ScopeExists method (azroles.h)

The ScopeExists method indicates whether the specified scope exists in this IAzApplication3 object.

Syntax

HRESULT ScopeExists(
  BSTR         bstrScopeName,
  VARIANT_BOOL *pbExist
);

Parameters

bstrScopeName

A string that contains the name of the scope to be checked.

pbExist

VARIANT_TRUE if the specified scope exists in this IAzApplication3 object; otherwise, VARIANT_FALSE.

Return value

If the method succeeds, it returns S_OK.

If the method fails, it returns an error code. For a list of common error codes, see Common HRESULT Values.

Requirements

   
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Target Platform Windows
Header azroles.h
DLL Azroles.dll