IAzApplication::OpenScope method (azroles.h)

The OpenScope method opens an IAzScope object with the specified name.

Syntax

HRESULT OpenScope(
  BSTR     bstrScopeName,
  VARIANT  varReserved,
  IAzScope **ppScope
);

Parameters

bstrScopeName

Name of the IAzScope object to open.

varReserved

Reserved for future use.

ppScope

A pointer to a pointer to the opened IAzScope object.

Return value

If the method succeeds, the method returns S_OK.

Any other HRESULT value indicates that the operation failed.

Requirements

   
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Target Platform Windows
Header azroles.h
Library Azroles.lib
DLL Azroles.dll
Redistributable Windows Server 2003 Administration Tools Pack on Windows XP