IAzApplication3::ScopeExists method (azroles.h)

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

Syntax

HRESULT ScopeExists(
  [in]  BSTR         bstrScopeName,
  [out] VARIANT_BOOL *pbExist
);

Parameters

[in] bstrScopeName

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

[out] 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

Requirement Value
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