Click or drag to resize
IDataComClientGetContact Method
Searches Data.com for a contact with the specified identifier and returns the result using the Data.com user account with given credential.

Namespace: CMS.DataCom
Assembly: CMS.DataCom (in CMS.DataCom.dll) Version: 10.0.0
Syntax
C#
Contact GetContact(
	long contactId,
	bool purchaseFlag,
	NetworkCredential userCredential
)

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 user account with given credential.
userCredential
Type: System.NetNetworkCredential
The Data.com user credential.

Return Value

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