RsopDeleteSession method of the RsopLoggingModeProvider class

The RsopDeleteSession method deletes the snapshot of actual policy data when the data is no longer required by the RSoP MMC snap-in (rsop.msc). Snapshots of policy data are made by the RsopCreateSession method in logging mode.

Syntax


void RsopDeleteSession(
  [in]   string nameSpace,
  [out]  uint32 hResult
);

Parameters

nameSpace [in]

Specifies the RSoP namespace where logging mode data is stored. This parameter indicates the namespace returned by a call to the RsopCreateSession method.

hResult [out]

An HRESULT that indicates the success or failure of the method. If the method succeeds, the return value is S_OK. Otherwise, the method returns one of the COM error codes defined in the Platform SDK header file WinError.h.

Return value

This method has no return value. For more information, see the description of the hResult parameter.

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Namespace

\\.\root\RSOP

MOF

Rsopcore.mof

See also

Group Policy Overview
Group Policy RSoP WMI Classes
RsopLoggingModeProvider
RsopCreateSession

 

 

Show:
© 2014 Microsoft