ConnectionParameterCollection

ConnectionParameterCollection class

Specifies the ConnectionParameter collection

class ConnectionParameterCollection;

Methods

MethodDescription
get(number)Gets the ConnectionParameter element at the specified index.
get(string)Gets the ConnectionParameter element with the specified name.
set(ConnectionParameter, number)Gets the ConnectionParameter element at the specified index.
getCount()@deprecated. Please use the ‘count’ property instead. Gets the number of elements contained in.
isNull()Checks whether the implementation object is null.

get(number)

Gets the ConnectionParameter element at the specified index.

get(index: number) : ConnectionParameter;

Parameters:

ParameterTypeDescription
indexnumberThe zero based index of the element.

Returns

The element at the specified index.

get(string)

Gets the ConnectionParameter element with the specified name.

get(connParamName: string) : ConnectionParameter;

Parameters:

ParameterTypeDescription
connParamNamestringconnection parameter name

Returns

The element with the specified name.

set(ConnectionParameter, number)

Gets the ConnectionParameter element at the specified index.

set(value: ConnectionParameter, index: number) : void;

Parameters:

ParameterTypeDescription
valueConnectionParameterThe value to set.
indexnumberThe zero based index of the element.

Returns

The element at the specified index.

getCount()

@deprecated. Please use the ‘count’ property instead. Gets the number of elements contained in.

getCount() : number;

isNull()

Checks whether the implementation object is null.

isNull() : boolean;