SmoCollectionBase Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- 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. Unlike Refresh(), any objects already listed in the collection will be replaced with new versions. Use this method to assure all the objects in the collection have the complete set of properties you want. |
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) |