IAzAuthorizationStore2::CreateApplication2 method (azroles.h)
The CreateApplication2 method creates an IAzApplication2 object by using the specified name.
Syntax
HRESULT CreateApplication2(
[in] BSTR bstrApplicationName,
[in, optional] VARIANT varReserved,
[out] IAzApplication2 **ppApplication
);
Parameters
[in] bstrApplicationName
The name for the new IAzApplication2 object.
[in, optional] varReserved
Reserved for future use.
[out] ppApplication
A pointer to a pointer to the created 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.
Remarks
You must call the IAzApplication::Submit method to persist any changes made by the returned object.
The returned IAzApplication2 object is an immediate child object of the IAzAuthorizationStore2 object.
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 |