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.156 -- Release Build+a0362ddca9ef443a14cbb0197310f102a707ea84
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