Поделиться через


Элементы SqlAssemblyCollection

The SqlAssemblyCollection class represents a collection of SqlAssembly objects that represent all the assemblies defined on a table.

Тип SqlAssemblyCollection предоставляет доступ к следующим элементам.

Методы

  Имя Описание
Открытый метод Add Adds an SqlAssembly to the collection.
Защищенный метод AddExisting Adds an object to the collection. (Наследуется из AbstractCollectionBase.)
Защищенный метод AddImpl Adds the specified object to this collection (Наследуется из SortedListCollectionBase.)
Открытый метод Contains Verifies whether the specified object exists in the collection. (Наследуется из SimpleObjectCollectionBase.)
Открытый метод CopyTo Copies the collection objects to a one-dimensional array beginning at the index value specified.
Открытый метод Equals (Наследуется из Object.)
Защищенный метод Finalize (Наследуется из Object.)
Защищенный метод GetCollectionElementType Gets the Collection Element Type. (Наследуется из SmoCollectionBase.)
Открытый метод GetEnumerator Returns an IEnumerator interface that allows you to iterate through the objects in the collection. (Наследуется из SmoCollectionBase.)
Открытый метод GetHashCode (Наследуется из Object.)
Защищенный метод GetItemById(Int32) Extracts a member from the referenced collection using a system-defined, unique identifier. (Наследуется из SmoCollectionBase.)
Защищенный метод GetItemById(Int32, String) Extracts a member from the referenced collection using a system-defined, unique identifier and name. (Наследуется из SmoCollectionBase.)
Защищенный метод GetObjectByIndex Extracts a member from the referenced collection using a system-defined, unique identifier. (Наследуется из SmoCollectionBase.)
Открытый метод GetType (Наследуется из Object.)
Защищенный метод ImplAddExisting Adds an existing specified object to this collection (Наследуется из SortedListCollectionBase.)
Защищенный метод InitializeChildCollection() () () () Initializes the child collections of the referenced collection. (Наследуется из SmoCollectionBase.)
Защищенный метод InitializeChildCollection(Boolean) Initializes the child collections of the referenced collection with the option to refresh the properties of the referenced collection. (Наследуется из SmoCollectionBase.)
Защищенный метод InitInnerCollection Initializes the collection. (Наследуется из SimpleObjectCollectionBase.)
Открытый метод ItemById Extracts a member from the SqlAssemblyCollection collection using a system-defined, unique identifier.
Защищенный метод MemberwiseClone (Наследуется из Object.)
Открытый метод Refresh() () () () Refreshes the referenced collection. (Наследуется из SmoCollectionBase.)
Открытый метод Refresh(Boolean) Refreshes the referenced collection with the option to refresh child objects of the referenced collection. (Наследуется из SmoCollectionBase.)
Открытый метод ToString (Наследуется из Object.)
Защищенный метод ValidateParentObject Validates the parent object exists. (Наследуется из SmoCollectionBase.)

В начало

Поля

  Имя Описание
Защищенное поле initialized This value supports the SMO infrastructure and is not intended to be used directly from your code. (Наследуется из AbstractCollectionBase.)

В начало

Свойства

  Имя Описание
Открытое свойство Count Gets the number of objects in the referenced collection. (Наследуется из SmoCollectionBase.)
Открытое свойство IsSynchronized Gets the Boolean property value that specifies whether access to the collection is synchronized and therefore thread-safe. (Наследуется из SmoCollectionBase.)
Открытое свойство Item[ ( [ ( Int32] ) ] ) Gets a SqlAssembly object in the collection by index number.
Открытое свойство Item[ ( [ ( String] ) ] ) Gets a SqlAssembly object in the collection by name.
Открытое свойство Parent Gets the Database object that is the parent of the SqlAssemblyCollection object.
Открытое свойство SyncRoot Gets an object that can be used to synchronize access to the collection. (Наследуется из SmoCollectionBase.)

В начало

Явные реализации интерфейса

  Имя Описание
Явная реализация интерфейсаЗакрытый метод ICollection. . :: . .CopyTo Copies the elements from an instance to an array beginning at the index indicated. (Наследуется из SmoCollectionBase.)

В начало