IAzScope2::DeleteRoleDefinition method (azroles.h)
The DeleteRoleDefinition method removes the specified IAzRoleDefinition object from this scope.
HRESULT DeleteRoleDefinition(
[in] BSTR bstrRoleDefinitionName
);
[in] bstrRoleDefinitionName
A string that contains the name of the IAzRoleDefinition object to remove.
If the method succeeds, it returns S_OK.
If the method fails, it returns an error code. For a list of common error codes, see Common HRESULT Values.
If any references to an IAzRoleDefinition object have been deleted from the cache, that object can no longer be used. In C++, you must release references to deleted IAzRoleDefinition objects by calling the IUnknown::Release method. In Visual Basic, references to deleted objects are automatically released.
Requirement | Value |
---|---|
Minimum supported client | Windows Vista [desktop apps only] |
Minimum supported server | Windows Server 2008 [desktop apps only] |
Target Platform | Windows |
Header | azroles.h |
DLL | Azroles.dll |