Gemstone Timeseries Library
Show/Hide TOC

# AllAdaptersCollectionTryInitializeAdapterByID Method

Attempts to initialize (or reinitialize) an individual IAdapter based on its ID from any collection.

## Definition

Namespace: Gemstone.Timeseries.Adapters
Assembly: Gemstone.Timeseries (in Gemstone.Timeseries.dll) Version: 1.0.159 -- Release Build+5e229f6c17e56a080df8050499a7be13fe2cb600
C#
View Source Request Example

    public override bool TryInitializeAdapterByID(
    	uint id
    )

VB
View Source Request Example

    Public Overrides Function TryInitializeAdapterByID (
    	id As UInteger
    ) As Boolean

C++
View Source Request Example

    public:
    virtual bool TryInitializeAdapterByID(
    	unsigned int id
    ) override

JavaScript
View Source Request Example

    function TryInitializeAdapterByID(id);

#### Parameters

id UInt32
  The numeric ID associated with the IAdapter to be initialized.

#### Return Value

Boolean
true if item was successfully initialized; otherwise false.

#### Implements

IAdapterCollectionTryInitializeAdapterByID(UInt32)

## Remarks

This method traverses all collections looking for an adapter with the specified ID.

## See Also

#### Reference

AllAdaptersCollection Class
Gemstone.Timeseries.Adapters Namespace