共用方式為


ClusResTypes.DeleteItem method

[The DeleteItem 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 resource type from the cluster and removes it from the ClusResTypes collection.

Syntax

ClusResTypes.DeleteItem( _
  ByVal varIndex _
)

Parameters

varIndex

Integer that identifies an object in the collection by name or numeric index.

Return value

This method does not return a value.

Remarks

If there are any resources of the specified type present in the cluster, the DeleteItem method fails for that resource type. In other words, you cannot delete a resource type if there are resources of that type present in the cluster.

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_ISClusResTypes is defined as F2E60712-2631-11D1-89F1-00A0C90D061E

See also

ClusResTypes