Skip to content

Latest commit

 

History

History
69 lines (57 loc) · 2.81 KB

nf-azroles-iazscope2-deleteroleassignment.md

File metadata and controls

69 lines (57 loc) · 2.81 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:azroles.IAzScope2.DeleteRoleAssignment
IAzScope2::DeleteRoleAssignment (azroles.h)
Removes the specified IAzRoleAssignment object from this scope.
DeleteRoleAssignment
DeleteRoleAssignment method [Security]
DeleteRoleAssignment method [Security]
IAzScope2 interface
IAzScope2 interface [Security]
DeleteRoleAssignment method
IAzScope2.DeleteRoleAssignment
IAzScope2::DeleteRoleAssignment
azroles/IAzScope2::DeleteRoleAssignment
security.iazscope2_deleteroleassignment
security\iazscope2_deleteroleassignment.htm
security
8e28e09a-f9a4-4e6e-bb11-cfa1145f1ba1
12/05/2018
DeleteRoleAssignment, DeleteRoleAssignment method [Security], DeleteRoleAssignment method [Security],IAzScope2 interface, IAzScope2 interface [Security],DeleteRoleAssignment method, IAzScope2.DeleteRoleAssignment, IAzScope2::DeleteRoleAssignment, azroles/IAzScope2::DeleteRoleAssignment, security.iazscope2_deleteroleassignment
azroles.h
Windows
Windows Vista [desktop apps only]
Windows Server 2008 [desktop apps only]
Azroles.dll
Windows
19H1
IAzScope2::DeleteRoleAssignment
azroles/IAzScope2::DeleteRoleAssignment
c++
APIRef
kbSyntax
COM
Azroles.dll
IAzScope2.DeleteRoleAssignment

IAzScope2::DeleteRoleAssignment

-description

The DeleteRoleAssignment method removes the specified IAzRoleAssignment object from this scope.

-parameters

-param bstrRoleAssignmentName [in]

A string that contains the name of the IAzRoleAssignment object to remove.

-returns

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.

-remarks

If any references to an IAzRoleAssignment object have been deleted from the cache, the IAzRoleAssignment object can no longer be used. In C++, you must release references to deleted IAzRoleAssignment objects by calling the IUnknown::Release method. In Visual Basic, references to deleted objects are automatically released.