AccountAddAccountToContacts Method
This method enables you to add an Account item to multiple Contact items.

Namespace:  AccountService
 

Syntax
C#
public long AddAccountToContacts(
	long lobjectID,
	string strContacts,
	out string strError
)

Parameters

lobjectID
Type: SystemInt64
[in] The ID of the Account item.
strContacts
Type: SystemString
[in] The Contact items that must be associated with the Account item. The Contact items are separated by a comma.
strError
Type: SystemString
[out] The error messages returned when the add operation fails.

Return Value

Type: Int64
The AddAccountToContacts method returns 0 if the operation is successful and a negative value if the operation fails.
See Also