Skip to content

Latest commit

 

History

History
69 lines (57 loc) · 2.79 KB

nf-azroles-iazscope2-deleteroledefinition.md

File metadata and controls

69 lines (57 loc) · 2.79 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.DeleteRoleDefinition
IAzScope2::DeleteRoleDefinition (azroles.h)
Removes the specified IAzRoleDefinition object from this scope.
DeleteRoleDefinition
DeleteRoleDefinition method [Security]
DeleteRoleDefinition method [Security]
IAzScope2 interface
IAzScope2 interface [Security]
DeleteRoleDefinition method
IAzScope2.DeleteRoleDefinition
IAzScope2::DeleteRoleDefinition
azroles/IAzScope2::DeleteRoleDefinition
security.iazscope2_deleteroledefinition
security\iazscope2_deleteroledefinition.htm
security
12eddceb-15e2-4c9a-8372-749b0eccdd79
12/05/2018
DeleteRoleDefinition, DeleteRoleDefinition method [Security], DeleteRoleDefinition method [Security],IAzScope2 interface, IAzScope2 interface [Security],DeleteRoleDefinition method, IAzScope2.DeleteRoleDefinition, IAzScope2::DeleteRoleDefinition, azroles/IAzScope2::DeleteRoleDefinition, security.iazscope2_deleteroledefinition
azroles.h
Windows
Windows Vista [desktop apps only]
Windows Server 2008 [desktop apps only]
Azroles.dll
Windows
19H1
IAzScope2::DeleteRoleDefinition
azroles/IAzScope2::DeleteRoleDefinition
c++
APIRef
kbSyntax
COM
Azroles.dll
IAzScope2.DeleteRoleDefinition

IAzScope2::DeleteRoleDefinition

-description

The DeleteRoleDefinition method removes the specified IAzRoleDefinition object from this scope.

-parameters

-param bstrRoleDefinitionName [in]

A string that contains the name of the IAzRoleDefinition 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 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.