Click or drag to resize
IDataComClientGetPartnerContact Method
Searches Data.com for a contact with the specified identifier and returns the result using the Data.com partner account with given access token.

Namespace: CMS.DataCom
Assembly: CMS.DataCom (in CMS.DataCom.dll) Version: 8.2.23
Syntax
C#
Contact GetPartnerContact(
	long contactId,
	bool purchaseFlag,
	BuyerIdentity buyerIdentity
)

Parameters

contactId
Type: SystemInt64
The identifier of a contact in Data.com.
purchaseFlag
Type: SystemBoolean
The value that indicates whether the service should attempt to buy the contact and deduct points from the Data.com partner on behalf of the specified buyer.
buyerIdentity
Type: CMS.DataComBuyerIdentity
The buyer identity for billing purposes.

Return Value

Type: Contact
The contact with the specified identifier, if the contact was found; otherwise, null.
See Also