ReleaseSessionHandle Method in Class SMS_SiteControlFile
The ReleaseSessionHandle WMI class method releases the memory allocated by the GetSessionHandle method.
The following syntax is simplified from MOF code and is intended to show you the definition of the method.
sint32 ReleaseSessionHandle( [in] string SessionHandle );
Data type: string
Identifies your in-memory copy of the site control file.
The ReleaseSessionHandle method returns a sint32 that is always zero (0).
Call this method when you have finished making changes to your copy of the site control file. Be sure to call CommitSCF before you call this method or your changes will be lost.
For an example that uses the ReleaseSessionHandle method, see Managing Site Control Configuration