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.164 -- Release Build+a92a9bf42cb46f572890ee63295d6658a513d9b3
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