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


Элементы JobCollection

The JobCollection class represents a collection of Job objects that represent all the jobs defined on the JobServer object.

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

Методы

  Имя Описание
Открытый метод Add
Защищенный метод AddExisting Adds an object to the collection. (Наследуется из AbstractCollectionBase.)
Защищенный метод AddImpl Adds an object or member to this collection at the specified index. (Наследуется из ArrayListCollectionBase.)
Открытый метод Contains(String)
Открытый метод Contains(String, Int32)
Открытый метод CopyTo
Открытый метод Equals (Наследуется из Object.)
Защищенный метод Finalize (Наследуется из Object.)
Защищенный метод GetCollectionElementType (Перезаписывает SmoCollectionBase. . :: . .GetCollectionElementType() () () ().)
Открытый метод 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 (Наследуется из SmoCollectionBase.)
Защищенный метод 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 (Перезаписывает SmoCollectionBase. . :: . .InitInnerCollection() () () ().)
Открытый метод ItemById Gets the Job object that is specified by the Guid ID value.
Защищенный метод 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.)
Открытый метод Script() () () ()
Открытый метод Script(ScriptingOptions)
Открытый метод 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] ) ] )
Открытое свойство Item[ ( [ ( String] ) ] )
Открытое свойство Item[ ( [ ( String, Int32] ) ] )
Открытое свойство Parent
Открытое свойство 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.)

В начало