IAzScope::CreateApplicationGroup method (azroles.h)
The CreateApplicationGroup method creates an IAzApplicationGroup object with the specified name.
Syntax
HRESULT CreateApplicationGroup(
[in] BSTR bstrGroupName,
[in, optional] VARIANT varReserved,
[out] IAzApplicationGroup **ppGroup
);
Parameters
[in] bstrGroupName
Name for the new IAzApplicationGroup object.
[in, optional] varReserved
Reserved for future use.
[out] ppGroup
A pointer to a pointer to the created IAzApplicationGroup object.
Return value
The return value is an HRESULT. A value of S_OK indicates success. Any other value indicates that the operation failed.
Remarks
You must call the IAzApplicationGroup::Submit method to persist any changes made to the returned object.
The returned IAzApplicationGroup object is an immediate child object of the IAzScope object.
Requirements
Requirement | Value |
---|---|
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 |