次の方法で共有


ClusPropertyValues.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 property value and adds it to the ClusPropertyValues collection.

Syntax

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

Parameters

strName

A String containing the name of the property to which this value applies.

varValue

A Variant specifying the new property value.

Return value

A ClusPropertyValue object that receives the new property value.

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

See also

ClusPropertyValues

ClusProperty