RsopDeleteSession method of the RsopLoggingModeProvider class

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.

This method is implemented in the provider.

Syntax

static 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
Minimum supported server
Windows Server 2008
Namespace
Root\RSOP\Computer
MOF
Rsop.mof
DLL
GPSvc.dll

See also

Group Policy Overview

Group Policy RSoP WMI Classes

RsopLoggingModeProvider

RsopCreateSession