ReleaseSessionHandle Method in Class SMS_SiteControlFile
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 ReleaseSessionHandle Windows Management Instrumentation (WMI) class method, in Configuration Manager 2007, releases the memory allocated by the GetSessionHandle Method in Class SMS_SiteControlFile method.
The following syntax is simplified from Managed Object Format (MOF) code and is intended to show the definition of the method.
SInt32 ReleaseSessionHandle(
String SessionHandle
);
Parameters
SessionHandle
Data type: StringQualifiers: [in]
Handle to the in-memory copy of the site control file.
Return Values
An SInt32 data type that is 0 to indicate success or non-zero to indicate failure.
For information about handling returned errors, see About Configuration Manager Errors.
Remarks
The application calls this method when finished making changes to the copy of the site control file. It should call CommitSCF Method in Class SMS_SiteControlFile before calling this method or the changes will be lost.
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_SiteControlFile Server WMI Class
CommitSCF Method in Class SMS_SiteControlFile
About the Configuration Manager Site Control File
Configuration Manager Context Qualifiers