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.160 -- Release Build+69269a1754081bcb38397d2d6a05132ae03c7054
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