Share via


SmoCollectionBase Class

Definition

public abstract class SmoCollectionBase : Microsoft.SqlServer.Management.Smo.AbstractCollectionBase, System.Collections.ICollection
type SmoCollectionBase = class
    inherit AbstractCollectionBase
    interface ICollection
    interface IEnumerable
Public MustInherit Class SmoCollectionBase
Inherits AbstractCollectionBase
Implements ICollection
Inheritance
SmoCollectionBase
Derived
Implements

Fields

initialized (Inherited from AbstractCollectionBase)

Properties

Count
IsSynchronized
ParentInstance (Inherited from AbstractCollectionBase)
SyncRoot

Methods

AddExisting(SqlSmoObject) (Inherited from AbstractCollectionBase)
ClearAndInitialize(String, IEnumerable<String>)

Clears old objects and initializes the collection

GetCollectionElementType()
GetEnumerator()

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

GetItemById(Int32, String)
GetItemById(Int32)
GetObjectByIndex(Int32)
ImplAddExisting(SqlSmoObject)
InitializeChildCollection()

Initialize the child collection

InitializeChildCollection(Boolean)

Initializes the child collection, optionally keeping all the old objects

InitInnerCollection()
Refresh()
Refresh(Boolean)
ResetCollection()

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

ValidateParentObject(SqlSmoObject)

Explicit Interface Implementations

ICollection.CopyTo(Array, Int32)

Applies to