Share via


Clase DatabaseCollection

Contains a collection of Database objects. This class cannot be inherited.

Espacio de nombres:  Microsoft.AnalysisServices
Ensamblado:  Microsoft.AnalysisServices (en Microsoft.AnalysisServices.dll)

Sintaxis

'Declaración
<GuidAttribute("F4C66028-67C0-4a43-9169-1D53381162D6")> _
Public NotInheritable Class DatabaseCollection _
    Inherits MajorObjectCollection
'Uso
Dim instance As DatabaseCollection
[GuidAttribute("F4C66028-67C0-4a43-9169-1D53381162D6")]
public sealed class DatabaseCollection : MajorObjectCollection
[GuidAttribute(L"F4C66028-67C0-4a43-9169-1D53381162D6")]
public ref class DatabaseCollection sealed : public MajorObjectCollection
[<SealedAttribute>]
[<GuidAttribute("F4C66028-67C0-4a43-9169-1D53381162D6")>]
type DatabaseCollection =  
    class
        inherit MajorObjectCollection
    end
public final class DatabaseCollection extends MajorObjectCollection

El tipo DatabaseCollection expone los siguientes miembros.

Propiedades

  Nombre Descripción
Propiedad pública Count Gets the number of ModelComponent objects in the ModelComponentCollection. (Se hereda de ModelComponentCollection.)
Propiedad protegida DemandLoadingService Infraestructura. (Se hereda de ModelComponentCollection.)
Propiedad pública IsFixedSize Gets a value indicating whether the ModelComponentCollection has a fixed size. (Se hereda de ModelComponentCollection.)
Propiedad pública IsReadOnly Gets a value indicating whether the ModelComponentCollection is read-only. (Se hereda de ModelComponentCollection.)
Propiedad pública IsSynchronized Gets a value indicating whether access to the ModelComponentCollection is synchronized (thread-safe). (Se hereda de ModelComponentCollection.)
Propiedad pública Item[ ( [ ( Int32] ) ] ) Gets the Database, at the specified index, from the collection.
Propiedad pública Item[ ( [ ( String] ) ] ) Gets the Database, with the specified identifier, from the collection.
Propiedad protegida ItemsType Gets the Type of objects that can be contained by the ModelComponentCollection. (Se hereda de ModelComponentCollection.)
Propiedad pública Parent Gets the IModelComponent that contains the ModelComponentCollection. (Se hereda de ModelComponentCollection.)
Propiedad protegida Preloadable Infraestructura. (Se hereda de ModelComponentCollection.)
Propiedad pública SyncRoot Gets an object that can be used to synchronize access to the ModelComponentCollection. (Se hereda de ModelComponentCollection.)

Arriba

Métodos

  Nombre Descripción
Método público Add() () () () Creates and adds a Database to the end of the collection.
Método público Add(String) Creates and adds a Database, with the specified identifier, to the end of the collection.
Método público Add(Database) Adds a Database to the end of the collection.
Método protegido Add(ModelComponent) Adds a ModelComponent to the end of the MajorObjectCollection. (Se hereda de MajorObjectCollection.)
Método público Add(String, String) Creates and adds a Database, with the specified name and identifier, to the end of the collection.
Método protegido Add(String, IModelComponent) (Se hereda de ModelComponentCollection.)
Método protegido Add(ModelComponent, Boolean) Infraestructura. (Se hereda de ModelComponentCollection.)
Método protegido Add(String, IModelComponent, Boolean) (Se hereda de ModelComponentCollection.)
Método protegido AddNew(String, Type) Infraestructura. (Se hereda de ModelComponentCollection.)
Método protegido AddNew(String, String, Type) Infraestructura. (Se hereda de ModelComponentCollection.)
Método público CanAdd Infraestructura. (Se hereda de NamedComponentCollection.)
Método protegido ChangeKey Infraestructura. (Se hereda de ModelComponentCollection.)
Método público Clear Removes all elements from the ModelComponentCollection. (Se hereda de ModelComponentCollection.)
Método público Contains(String) Indicates whether the collection contains a Database with the specified identifier.
Método público Contains(Database) Indicates whether the collection contains a specified Database.
Método protegido Contains(IModelComponent) (Se hereda de ModelComponentCollection.)
Método público ContainsName (Se hereda de NamedComponentCollection.)
Método público CopyTo Copies the entire ModelComponentCollection to a one-dimensional Array, starting at the specified index of the target array. (Se hereda de ModelComponentCollection.)
Método protegido EnsureLoaded Infraestructura. (Se hereda de ModelComponentCollection.)
Método público Equals (Se hereda de Object.)
Método protegido Finalize (Se hereda de Object.)
Método público Find Gets the Database, with the specified identifier, from the collection.
Método público FindByName Gets the Database, with the specified name, from the collection.
Método público GetByName Gets the Database, with the specified name, from the collection.
Método público GetEnumerator Returns an enumerator that can iterate through the ModelComponentCollection. (Se hereda de ModelComponentCollection.)
Método público GetHashCode (Se hereda de Object.)
Método protegido GetItem Gets a reference to the specified component. (Se hereda de ModelComponentCollection.)
Método público GetNewID() () () () (Se hereda de NamedComponentCollection.)
Método público GetNewID(String) (Se hereda de NamedComponentCollection.)
Método público GetNewName() () () () (Se hereda de NamedComponentCollection.)
Método público GetNewName(String) (Se hereda de NamedComponentCollection.)
Método público GetType (Se hereda de Object.)
Método público IndexOf(String) Gets the index of a Database with the specified identifier.
Método público IndexOf(Database) Gets the index of a specified Database.
Método protegido IndexOf(IModelComponent) (Se hereda de ModelComponentCollection.)
Método público IndexOfName (Se hereda de NamedComponentCollection.)
Método público Insert(Int32) Creates and inserts a Database into the collection at the specified index.
Método público Insert(Int32, Database) Inserts a Database into the collection at the specified index.
Método público Insert(Int32, String) Creates and inserts a Database, with the specified identifier, into the collection at the specified index.
Método protegido Insert(Int32, ModelComponent) Inserts a ModelComponent in the MajorObjectCollection at the specified index. (Se hereda de MajorObjectCollection.)
Método público Insert(Int32, String, String) Creates and inserts a Database, with the specified name and identifier, into the collection at the specified index.
Método protegido Insert(IModelComponent, String, Int32) (Se hereda de ModelComponentCollection.)
Método protegido Insert(IModelComponent, String, Int32, Boolean) (Se hereda de ModelComponentCollection.)
Método público IsValidID(String) (Se hereda de NamedComponentCollection.)
Método público IsValidID(String, String%) (Se hereda de NamedComponentCollection.)
Método protegido IsValidID(String, Type, String%) (Se hereda de NamedComponentCollection.)
Método público IsValidName(String) (Se hereda de NamedComponentCollection.)
Método público IsValidName(String, String%) (Se hereda de NamedComponentCollection.)
Método protegido IsValidName(String, Type, String%) (Se hereda de NamedComponentCollection.)
Método protegido MemberwiseClone (Se hereda de Object.)
Método público Move(Int32, Int32) Moves a Database at the current specified index to a new specified index in the collection.
Método público Move(String, Int32) Moves a Database, with the specified identifier, to the specified index in the collection.
Método público Move(Database, Int32) Moves a Database to a new index in the collection.
Método público Remove(String) Removes the Database, with the specified identifier, from the collection.
Método público Remove(Database) Removes the specified Database from the collection.
Método protegido Remove(IModelComponent) (Se hereda de ModelComponentCollection.)
Método público Remove(String, Boolean) Infraestructura.
Método público Remove(Database, Boolean) Infraestructura.
Método público RemoveAt(Int32) Removes the IModelComponent at the specified index from the ModelComponentCollection. (Se hereda de ModelComponentCollection.)
Método público RemoveAt(Int32, Boolean) Infraestructura. (Se hereda de ModelComponentCollection.)
Método público ToString (Se hereda de Object.)

Arriba

Eventos

  Nombre Descripción
Evento público CollectionChanged Infraestructura. (Se hereda de ModelComponentCollection.)
Evento público CollectionChanging Infraestructura. (Se hereda de ModelComponentCollection.)

Arriba

Implementaciones de interfaces explícitas

  Nombre Descripción
Implementación de interfaces explícitasMétodo privado IList. . :: . .Add (Se hereda de ModelComponentCollection.)
Implementación de interfaces explícitasMétodo privado IList. . :: . .Clear (Se hereda de ModelComponentCollection.)
Implementación de interfaces explícitasMétodo privado IList. . :: . .Contains (Se hereda de ModelComponentCollection.)
Implementación de interfaces explícitasMétodo privado IList. . :: . .IndexOf (Se hereda de ModelComponentCollection.)
Implementación de interfaces explícitasMétodo privado IList. . :: . .Insert (Se hereda de ModelComponentCollection.)
Implementación de interfaces explícitasPropiedad privada IList. . :: . .Item (Se hereda de ModelComponentCollection.)
Implementación de interfaces explícitasMétodo privado IList. . :: . .Remove (Se hereda de ModelComponentCollection.)
Implementación de interfaces explícitasMétodo privado IList. . :: . .RemoveAt (Se hereda de ModelComponentCollection.)
Implementación de interfaces explícitasMétodo privado IModelComponentCollection. . :: . .Contains (Se hereda de ModelComponentCollection.)
Implementación de interfaces explícitasMétodo privado IModelComponentCollection. . :: . .Remove(IModelComponent) (Se hereda de ModelComponentCollection.)
Implementación de interfaces explícitasMétodo privado IModelComponentCollection. . :: . .Remove(IModelComponent, Boolean) (Se hereda de ModelComponentCollection.)
Implementación de interfaces explícitasMétodo privado IOnDemandLoadableCollection. . :: . .BlockOnDemandLoad (Se hereda de ModelComponentCollection.)
Implementación de interfaces explícitasPropiedad privada IOnDemandLoadableCollection. . :: . .Loaded (Se hereda de ModelComponentCollection.)

Arriba

Seguridad para subprocesos

Cualquier miembro público static (Shared en Visual Basic) de este tipo es seguro para subprocesos. No se garantiza que los miembros de instancia sean seguros para subprocesos.