3.1.4.25.5 IsUniqueKey (Opnum 7)
The IsUniqueKey method is received by the server in an RPC_REQUEST packet. In response, the server returns whether the specified property must be unique compared to all other properties of the peer collection of IAppHostElement objects. In other words, it applies only to properties that are members of the collection of IAppHostElement objects.
-
[propget] HRESULT IsUniqueKey( [out, retval] VARIANT_BOOL* pfIsUniqueKey );
pfIsUniqueKey: A Boolean value that states whether an attribute is required to be unique in the specified collection of the parent IAppHostElement.
Return Values: The server MUST return zero if it successfully processes the message that is received from the client. If processing fails, the server MUST return a nonzero HRESULT code as defined in [MS-ERREF]. The following table describes the error conditions that MUST be handled and the corresponding error codes. A server MAY return additional implementation-specific error codes.
-
Return value/code
Description
0X00000000
NO_ERROR
The operation completed successfully.
0X80070057
ERROR_INVALID_PARAMETER
One or more parameters are incorrect or null.