Sdílet prostřednictvím


SystemMessageCollection Class

Definition

Strongly typed list of MAPPED_TYPE objects Has strongly typed support for all of the methods of the sorted list class

public class SystemMessageCollection : Microsoft.SqlServer.Management.Smo.MessageCollectionBase
type SystemMessageCollection = class
    inherit MessageCollectionBase
Public Class SystemMessageCollection
Inherits MessageCollectionBase
Inheritance

Fields

initialized (Inherited from AbstractCollectionBase)

Properties

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

Methods

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

Clears old objects and initializes the collection

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

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

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

Initialize the child collection

(Inherited from SmoCollectionBase)
InitializeChildCollection(Boolean)

Initializes the child collection, optionally keeping all the old objects

(Inherited from SmoCollectionBase)
InitInnerCollection() (Inherited from MessageCollectionBase)
ItemByIdAndLanguage(Int32, String)
ItemByIdAndLanguageId(Int32, Int32)
Refresh() (Inherited from SmoCollectionBase)
Refresh(Boolean) (Inherited from SmoCollectionBase)
Remove(Int32) (Inherited from MessageCollectionBase)
Remove(Int32, String) (Inherited from MessageCollectionBase)
ResetCollection()

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

(Inherited from SmoCollectionBase)
ValidateParentObject(SqlSmoObject) (Inherited from SmoCollectionBase)

Explicit Interface Implementations

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

Applies to