DatabaseCollection Class

 

Updated: May 24, 2016

Represents a collection of Database objects on a Server.

Namespace:   Microsoft.AnalysisServices.Tabular
Assembly:  Microsoft.AnalysisServices.Tabular (in Microsoft.AnalysisServices.Tabular.dll)


[GuidAttribute("F4C66028-67C0-4a43-9169-1D53381162D6")]
public ref class DatabaseCollection sealed : MajorObjectCollection

NameDescription
System_CAPS_pubpropertyCount

Gets the number of ModelComponent objects in the ModelComponentCollection.(Inherited from ModelComponentCollection.)

System_CAPS_pubpropertyIsFixedSize

Gets a value indicating whether the ModelComponentCollection has a fixed size.(Inherited from ModelComponentCollection.)

System_CAPS_pubpropertyIsReadOnly

Gets a value indicating whether the ModelComponentCollection is read-only.(Inherited from ModelComponentCollection.)

System_CAPS_pubpropertyIsSynchronized

Gets a value indicating whether access to the ModelComponentCollection is synchronized (thread-safe).(Inherited from ModelComponentCollection.)

System_CAPS_pubpropertyItem[Int32]

Gets the Database at the specified zero-based index.

System_CAPS_pubpropertyItem[String^]

Gets the Database with the specified ID.

System_CAPS_pubpropertyParent

Gets the IModelComponent that contains the ModelComponentCollection.(Inherited from ModelComponentCollection.)

System_CAPS_pubpropertySyncRoot

Gets an object that can be used to synchronize access to the ModelComponentCollection.(Inherited from ModelComponentCollection.)

NameDescription
System_CAPS_pubmethodAdd()

Creates a database, generates a unique Name and ID, adds the object to the collection, and returns the new object.

System_CAPS_pubmethodAdd(Database^)

Adds the specified Database to this collection (at the last position).

System_CAPS_protmethodAdd(ModelComponent^)

Adds a ModelComponent to the end of the MajorObjectCollection.(Inherited from MajorObjectCollection.)

System_CAPS_protmethodAdd(ModelComponent^, Boolean)
System_CAPS_pubmethodAdd(String^)

Creates a database using the name provided, adds it to the collection, and returns a new Database object. The ID is generated based on the specified Name.

System_CAPS_pubmethodAdd(String^, String^)

Creates a database using the name and ID provided, adds it to the collection, and returns a new Database object.

System_CAPS_pubmethodCanAdd(ModelComponent^, String^%)

Indicates whether the collection can add a ModelComponent.(Inherited from NamedComponentCollection.)

System_CAPS_protmethodChangeKey(String^, String^)

Changes the specified keys to the collection.(Inherited from ModelComponentCollection.)

System_CAPS_pubmethodClear()

Removes all elements from the ModelComponentCollection.(Inherited from ModelComponentCollection.)

System_CAPS_pubmethodContains(Database^)

Determines whether the specified Database is in the collection.

System_CAPS_pubmethodContains(String^)

Determines whether a Database with the specified ID is in the collection.

System_CAPS_pubmethodContainsName(String^)

Indicates whether the component contains its name.(Inherited from NamedComponentCollection.)

System_CAPS_pubmethodCopyTo(Array^, Int32)

Copies the entire ModelComponentCollection to a one-dimensional Array, starting at the specified index of the target array.(Inherited from ModelComponentCollection.)

System_CAPS_pubmethodEquals(Object^)

(Inherited from Object.)

System_CAPS_pubmethodFind(String^)

Returns the Database with the specified ID or null if not found.

System_CAPS_pubmethodFindByName(String^)

Returns the Database with the specified Name or null if not found.

System_CAPS_pubmethodGetByName(String^)

Returns the Database with the specified Name.

System_CAPS_pubmethodGetEnumerator()

Returns an enumerator that can iterate through the ModelComponentCollection.(Inherited from ModelComponentCollection.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetNewID()

Gets a new unique ID for the component.(Inherited from NamedComponentCollection.)

System_CAPS_pubmethodGetNewID(String^)

Gets the value for the new unique ID.(Inherited from NamedComponentCollection.)

System_CAPS_pubmethodGetNewName()

Gets a unique new name for the component.(Inherited from NamedComponentCollection.)

System_CAPS_pubmethodGetNewName(String^)

Gets a unique new name for the component with the specified name prefix.(Inherited from NamedComponentCollection.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodIndexOf(Database^)

Searches for the specified Database and returns its zero-based index within the collection.

System_CAPS_pubmethodIndexOf(String^)

Searches for a Database with the specified ID and returns its zero-based index within the collection.

System_CAPS_pubmethodIndexOfName(String^)

Gets the index of the NamedComponent, identified by name, in the collection.(Inherited from NamedComponentCollection.)

System_CAPS_pubmethodInsert(Int32)

Creates a database, generates a unique Name and ID, inserts the object at the specified index, and returns a new Database object.

System_CAPS_pubmethodInsert(Int32, Database^)

Inserts a Database into this collection at the specified index.

System_CAPS_protmethodInsert(Int32, ModelComponent^)

Inserts a ModelComponent in the MajorObjectCollection at the specified index.(Inherited from MajorObjectCollection.)

System_CAPS_pubmethodInsert(Int32, String^)

Creates a database using the name provided, inserts it at the specified index, and returns a new Database object. The ID is generated based on the specified Name and is unique within this collection.

System_CAPS_pubmethodInsert(Int32, String^, String^)

Creates the database using the unique Name and ID provided, inserts the object at the specified index, and returns the new object.

System_CAPS_pubmethodIsValidID(String^)

Determines whether the named component collection identifier is valid.(Inherited from NamedComponentCollection.)

System_CAPS_pubmethodIsValidID(String^, String^%)

Determines whether the named component collection identifier is valid.(Inherited from NamedComponentCollection.)

System_CAPS_pubmethodIsValidName(String^)

Determines whether the named component collection name is valid.(Inherited from NamedComponentCollection.)

System_CAPS_pubmethodIsValidName(String^, String^%)

Determines whether the named component collection name is valid.(Inherited from NamedComponentCollection.)

System_CAPS_pubmethodMove(Database^, Int32)

Moves a Database in collection to a specified position. The object is identified by Name.

System_CAPS_pubmethodMove(Int32, Int32)

Moves a Database in the collection from one position to another.

System_CAPS_pubmethodMove(String^, Int32)

Moves a Database in collection to a specified position. The object is identified by its ID.

System_CAPS_pubmethodRemove(Database^)

Removes the specified Database from this collection. The object is identified by Name.

System_CAPS_pubmethodRemove(Database^, Boolean)

Removes the specified Database from this collection and optionally removes any references to the object.

System_CAPS_protmethodRemove(IModelComponent^)

Removes the specified IModelComponent from the collection.(Inherited from ModelComponentCollection.)

System_CAPS_pubmethodRemove(String^)

Removes a Database from this collection. The object is identified by its ID.

System_CAPS_pubmethodRemove(String^, Boolean)

Removes a Database from this collection based on its ID, and optionally removes any references to the object.

System_CAPS_pubmethodRemoveAt(Int32)

Removes the IModelComponent at the specified index from the ModelComponentCollection.(Inherited from ModelComponentCollection.)

System_CAPS_pubmethodRemoveAt(Int32, Boolean)

Removes the IModelComponent at the specified index from the ModelComponentCollection.(Inherited from ModelComponentCollection.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

NameDescription
System_CAPS_pubeventCollectionChanged

Occurs when the collection changes.(Inherited from ModelComponentCollection.)

System_CAPS_pubeventCollectionChanging

Occurs when the collection is changing.(Inherited from ModelComponentCollection.)

NameDescription
System_CAPS_pubinterfaceSystem_CAPS_privmethodIOnDemandLoadableCollection::BlockOnDemandLoad(Boolean)

Specifies the blocked demand load.(Inherited from ModelComponentCollection.)

System_CAPS_pubinterfaceSystem_CAPS_privmethodIModelComponentCollection::Contains(IModelComponent^)

Indicates whether the collection contains a specific value.(Inherited from ModelComponentCollection.)

System_CAPS_pubinterfaceSystem_CAPS_privmethodIModelComponentCollection::Remove(IModelComponent^)

Removes the first occurrence of a specific IModelComponent from the ModelComponentCollection.(Inherited from ModelComponentCollection.)

System_CAPS_pubinterfaceSystem_CAPS_privmethodIModelComponentCollection::Remove(IModelComponent^, Boolean)

Removes the first occurrence of a specific IModelComponent from the ModelComponentCollection.(Inherited from ModelComponentCollection.)

System_CAPS_pubinterfaceSystem_CAPS_privmethodIList::Add(Object^)

Adds an item to the collection.(Inherited from ModelComponentCollection.)

System_CAPS_pubinterfaceSystem_CAPS_privmethodIList::Clear()

Removes all items from the collection.(Inherited from ModelComponentCollection.)

System_CAPS_pubinterfaceSystem_CAPS_privmethodIList::Contains(Object^)

Indicates whether the collection contains a specific value.(Inherited from ModelComponentCollection.)

System_CAPS_pubinterfaceSystem_CAPS_privmethodIList::IndexOf(Object^)

Determines the index of a specific item in the collection.(Inherited from ModelComponentCollection.)

System_CAPS_pubinterfaceSystem_CAPS_privmethodIList::Insert(Int32, Object^)

Inserts an item to the collection at the specified index.(Inherited from ModelComponentCollection.)

System_CAPS_pubinterfaceSystem_CAPS_privmethodIList::Remove(Object^)

Removes the first occurrence of a specified object from the collection.(Inherited from ModelComponentCollection.)

System_CAPS_pubinterfaceSystem_CAPS_privmethodIList::RemoveAt(Int32)

Removes the item at the specified index.(Inherited from ModelComponentCollection.)

System_CAPS_pubinterfaceSystem_CAPS_privpropertyIOnDemandLoadableCollection::Loaded

(Inherited from ModelComponentCollection.)

System_CAPS_pubinterfaceSystem_CAPS_privpropertyIList::Item[Int32]

(Inherited from ModelComponentCollection.)

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: