Class Databases

Manages the collection of <Database> objects for Stonefield Query.

System.Object
  SFQWrapper.SQBase
    SFQWrapper.SQCollection
      SFQWrapper.Databases
public class Databases : SQCollection, IEnumerable

Class Members

MemberDescription

AddItem

Adds a new Database to the collection and returns a reference to the new Database.

public virtual object AddItem(string ItemName);

Clear

Removes all members from the collection.

public void Clear();

GetMainDatabase

Returns a Database object for the main database in the collection.

public Database GetMainDatabase();

Item

Returns a Database object by name.

public virtual object Item(string ItemName);

public virtual object Item(int Index);

RemoveItem

Removes an item from the collection by index.

public virtual bool RemoveItem(int Index);

public virtual bool RemoveItem(string ItemName);

Count

The number of items in the collection.

ErrorMessage

The message for any error that occurred.

Requirements

Namespace: SFQWrapper
Assembly: sfqwrapper.dll