SetMemberList method

Specifies the members for Member and Approval fields in a database.

Syntax


C++
HRESULT SetMemberList (
   ERUMemberChoice Choice,
   IERUMemberSet* pMembers)
Scripting languages
Object.SetMemberList (
   Choice as ERUMemberChoice,
   Members as IERUMemberSet )

Parameters


Choice

Choice as specified by the ERUMemberChoice enum. If the column is Approval, only erMemberChoiceList is valid.

Members

If the Choice parameter is set to erMemberChoiceList, Members contains a collection of IERUMember interface pointers.

Return value


C++

The return code.

Scripting languages

None.

Remarks


Prior to setting the DefaultValue for an Approval Column, you must call SetMemberList first. Otherwise, the operation returns an invalid operation error.

Home

Applies to

IERUDBColumn


See also

Databases