GPStatusMessage.OperationCode Property
Gets a code related to the operation in which the error occurred.
Namespace: Microsoft.GroupPolicy
Assembly: Microsoft.GroupPolicy.Management (in Microsoft.GroupPolicy.Management.dll)
Syntax
public int OperationCode { get; }
public:
property int OperationCode {
int get();
}
member OperationCode : int with get
Public ReadOnly Property OperationCode As Integer
Property Value
Type: System.Int32
Returns Int32. An HRESULT.
Remarks
A code related to the GPMC operation. The code corresponds to warnings or other errors that occurred during the operation. In the case of warnings, the operation continues. In the case of other errors, the operation stops. The operation codes are internal identifiers that are defined in Gpmgmt.dll. You can extract a text description of the operation code by using the Message property.
See Also
GPStatusMessage Class
Microsoft.GroupPolicy Namespace
Return to top