次の方法で共有


RsopDeleteSession method of the RsopPlanningModeProvider class

The RsopDeleteSession method deletes planning mode data when the data is no longer required by the RSoP MMC snap-in (rsop.msc). The RsopCreateSession method generates data in the planning 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 planning 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.

Remarks

RSoP planning mode requires Windows Server.

Requirements

Minimum supported client
None supported
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

RsopPlanningModeProvider

RsopCreateSession