IAzAuthorizationStore2::OpenApplication2 method (azroles.h)

The OpenApplication2 method opens the IAzApplication2 object with the specified name.

Syntax

HRESULT OpenApplication2(
  [in]           BSTR            bstrApplicationName,
  [in, optional] VARIANT         varReserved,
  [out]          IAzApplication2 **ppApplication
);

Parameters

[in] bstrApplicationName

The name of the IAzApplication2 object to open.

[in, optional] varReserved

Reserved for future use.

[out] ppApplication

A pointer to a pointer to the opened IAzApplication2 object.

Return value

If the method succeeds, the method returns S_OK.

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

Requirements

Requirement Value
Minimum supported client None supported
Minimum supported server Windows Server 2008, Windows Server 2003 with SP1 [desktop apps only]
Target Platform Windows
Header azroles.h
Library Azroles.lib
DLL Azroles.dll