db2DropContact API - Remove a contact from the list of contacts to whom notification messages can be sent
Removes a contact from the list of contacts. Contacts are users to whom notification messages can be sent.
Authorization
None
Required connection
None
API include file
db2ApiDf.h
API and data structure syntax
SQL_API_RC SQL_API_FN
db2DropContact (
db2Uint32 versionNumber,
void * pParmStruct,
struct sqlca * pSqlca);
typedef SQL_STRUCTURE db2DropContactData
{
char *piUserid;
char *piPassword;
char *piName;
} db2DropContactData;
db2DropContact API parameters
- versionNumber
- Input. Specifies the version and release level of the structure passed as the second parameter pParmStruct.
- pParmStruct
- Input. A pointer to the db2DropContactData structure.
- pSqlca
- Output. A pointer to the sqlca structure.
db2DropContactData data structure parameters
- piUserid
- Input. The user name.
- piPassword
- Input. The password for piUserid.
- piName
- Input. The name of the contact to be dropped.
Usage notes
This API is not supported on UNIX and Linux®. However, you can access the same functionality through the SQL interface.