Adds an entry to the DNC table.

Namespace: ININ.IceLib.Configuration.Dialer
Assembly: ININ.IceLib.Dialer (in ININ.IceLib.Dialer.dll) Version: 0.0.0.0 (22.3.0.208)

Syntax

C#
public bool AddEntryToDNCTable(
	ConfigurationId connectionId,
	string tableName,
	string phoneNumberColumnName,
	string phoneNumber,
	string exclusionIdentifierColumnName,
	string exclusionIdentifier,
	string expirationDateTimeColumnName,
	TimeSpan dateTimeOffsetBeforeNextDial
)
Visual Basic
Public Function AddEntryToDNCTable ( _
	connectionId As ConfigurationId, _
	tableName As String, _
	phoneNumberColumnName As String, _
	phoneNumber As String, _
	exclusionIdentifierColumnName As String, _
	exclusionIdentifier As String, _
	expirationDateTimeColumnName As String, _
	dateTimeOffsetBeforeNextDial As TimeSpan _
) As Boolean

Parameters

connectionId
Type: ConfigurationId
The Database Connection Id.
tableName
Type: System..::..String
The name of the Database table from the associated Connection Id for the Custom DNC.
phoneNumberColumnName
Type: System..::..String
The name of the Phone Number Column in the DNC table.
phoneNumber
Type: System..::..String
The phone number to add to the DNC table.
exclusionIdentifierColumnName
Type: System..::..String
The name of the Exclusion Column (account Identifier Column) in the DNC table.
exclusionIdentifier
Type: System..::..String
The identifier to add to the DNC table. This field is meant to be used to identify the record at the account level, as opposed to the Phone Number level. When mixed, the DNC will apply to the combination of the account and phone number.
expirationDateTimeColumnName
Type: System..::..String
The name of the Expiration Column in the DNC table.
dateTimeOffsetBeforeNextDial
Type: System..::..TimeSpan
The amount of time in the future before the associated phone/account numbers may be dialed.

Return Value

Boolean representing the function's successful return.

See Also