ClearContextHandle Method in Class SMS_ContextMethods

Applies To: System Center Configuration Manager 2007, System Center Configuration Manager 2007 R2, System Center Configuration Manager 2007 R3, System Center Configuration Manager 2007 SP1, System Center Configuration Manager 2007 SP2

The ClearContextHandle method, in Configuration Manager, clears cached context data that is associated with the specified context handle.

The following syntax is simplified from Managed Object Format (MOF) code and is intended to show the definition of the method.

SInt32 ClearContextHandle(
   String ContextHandle
);

Parameter

Return Values

An SInt32 data type that indicates 0 for success, or non-zero for failure.

Example Code

See the example code for the GetContextHandle Method in Class SMS_ContextMethods.

Requirements

Runtime Requirements

For more information, see Configuration Manager Server Runtime Requirements.

Development Requirements

For more information, see Configuration Manager Server Development Requirements.

See Also

Concepts

SMS_ContextMethods Class
GetContextHandle Method in Class SMS_ContextMethods