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.138 -- Release Build+b4f8847fe309a44734617722bca179874d85b46d
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