ClusProperties.CreateItem method

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

Creates a ClusProperty object and adds it to the ClusProperties collection.

Syntax

ClusProperties.CreateItem( _
  ByVal strName, _
  ByVal varValue _
)

Parameters

strName

String. The name of the new property.

varValue

A Variant specifying the initial value of the new property.

Return value

A ClusProperty object that receives the added property.

Remarks

The CreateItem method causes a modification to the collection. For more information, see ClusProperties.Modified.

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

See also

ClusProperties

ClusProperty