ClearContextHandle Method in Class SMS_ContextMethods

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 defines the method.

Syntax

SInt32 ClearContextHandle(  
   String ContextHandle  
);  

Parameter

ContextHandle
Data type: String

Qualifiers: [in]

Context handle resulting from a call to the GetContextHandle Method in Class SMS_ContextMethods.

Return Values

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

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

SMS_ContextMethods Class
GetContextHandle Method in Class SMS_ContextMethods