共用方式為


ClusRegistryKeys.RemoveItem method

[The RemoveItem method is available for use in the operating systems specified in the Requirements section. It may be altered or unavailable in subsequent versions.]

Deletes a registry key from a ClusRegistryKeys collection.

Syntax

ClusRegistryKeys.RemoveItem( _
  ByVal varIndex _
)

Parameters

varIndex

A Variant specifying the key to remove by name or by numeric index.

Return value

This method does not return a value.

Remarks

Use the RemoveItem method to remove a registry key from a resource's list of checkpointed registry keys.

For more information on checkpoints, see Checkpointing.

Requirements

Minimum supported client
None supported
Minimum supported server
Windows Server 2008 Enterprise, Windows Server 2008 Datacenter
Header
MsClus.h
IDL
MsClus.idl
Type library
MsClus.tlb
DLL
MsClus.dll
IID
IID_ISClusRegistryKeys is defined as F2E6072A-2631-11D1-89F1-00A0C90D061E

See also

ClusRegistryKeys