IAzApplication3::DeleteScope2 method (azroles.h)
HRESULT DeleteScope2( BSTR bstrScopeName );
A string that contains the name of the IAzScope2 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 IAzScope2 object have been deleted from the cache, you can no longer use that object. In C++, you must release references to deleted IAzScope2 objects by calling the IUnknown::Release method. In Visual Basic, references to deleted objects are automatically released.
|Minimum supported client||Windows Vista [desktop apps only]|
|Minimum supported server||Windows Server 2008 [desktop apps only]|