DataComClientGetContact 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.DataComAssembly: CMS.DataCom (in CMS.DataCom.dll) Version: 8.2.23
Syntax public 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:
ContactThe contact with the specified identifier, if the contact is found; otherwise, null.
Implements
IDataComClientGetContact(Int64, Boolean, NetworkCredential)See Also