IAzRole::AddOperation method (azroles.h)
The AddOperation method adds the IAzOperation object with the specified name to the role.
HRESULT AddOperation(
[in] BSTR bstrProp,
[in, optional] VARIANT varReserved
);
[in] bstrProp
Name of the IAzOperation object to add to the role.
[in, optional] varReserved
Reserved for future use.
If the method succeeds, it will return S_OK
. Any other HRESULT value indicates that the operation failed.
You must call the Submit method to persist any changes made by this method.
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 |