共用方式為


JobCollection Class

Definition

public class JobCollection : Microsoft.SqlServer.Management.Smo.ArrayListCollectionBase
type JobCollection = class
    inherit ArrayListCollectionBase
Public Class JobCollection
Inherits ArrayListCollectionBase
Inheritance

Fields

initialized (Inherited from AbstractCollectionBase)

Properties

Count (Inherited from SmoCollectionBase)
IsSynchronized (Inherited from SmoCollectionBase)
Item[Int32]
Item[String, Int32]
Item[String]
Parent
ParentInstance (Inherited from AbstractCollectionBase)
SyncRoot (Inherited from SmoCollectionBase)

Methods

Add(Job)
AddExisting(SqlSmoObject) (Inherited from AbstractCollectionBase)
AddImpl(SqlSmoObject, Int32) (Inherited from ArrayListCollectionBase)
ClearAndInitialize(String, IEnumerable<String>)

Clears old objects and initializes the collection

(Inherited from SmoCollectionBase)
Contains(String, Int32)
Contains(String)
CopyTo(Job[], Int32)
GetCollectionElementType()
GetEnumerator()

Returns an enumerator after making sure the collection is initialized with the default properties

(Inherited from SmoCollectionBase)
GetItemById(Int32, String) (Inherited from SmoCollectionBase)
GetItemById(Int32) (Inherited from SmoCollectionBase)
GetObjectByIndex(Int32) (Inherited from SmoCollectionBase)
ImplAddExisting(SqlSmoObject) (Inherited from SmoCollectionBase)
InitializeChildCollection()

Initialize the child collection

(Inherited from SmoCollectionBase)
InitializeChildCollection(Boolean)

Initializes the child collection, optionally keeping all the old objects

(Inherited from SmoCollectionBase)
InitInnerCollection()

Initializes the storage

ItemById(Guid)

ItemById

Refresh() (Inherited from SmoCollectionBase)
Refresh(Boolean) (Inherited from SmoCollectionBase)
ResetCollection()

Empties the collection but doesn't attempt to retrieve any data

(Inherited from SmoCollectionBase)
Script()
Script(ScriptingOptions)
ValidateParentObject(SqlSmoObject) (Inherited from SmoCollectionBase)

Explicit Interface Implementations

ICollection.CopyTo(Array, Int32) (Inherited from SmoCollectionBase)

Applies to