UserDefinedMessageCollection Class
The UserDefinedMessageCollection class represents a collection of UserDefinedMessage objects that represent all the user-defined messages defined on a table.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
Public NotInheritable Class UserDefinedMessageCollection _
Inherits MessageCollectionBase
'Usage
Dim instance As UserDefinedMessageCollection
public sealed class UserDefinedMessageCollection : MessageCollectionBase
public ref class UserDefinedMessageCollection sealed : public MessageCollectionBase
[<SealedAttribute>]
type UserDefinedMessageCollection =
class
inherit MessageCollectionBase
end
public final class UserDefinedMessageCollection extends MessageCollectionBase
Remarks
A UserDefinedMessageCollection object can be used to gain access to a set of user-defined messages. You can use the Item property to return a specific UserDefinedMessage object.
Thread Safety
Any public static (Shared in Microsoft Visual Basic) members of this type are safe for multithreaded operations. Any instance members are not guaranteed to be thread safe.
Inheritance Hierarchy
System.Object
Microsoft.SqlServer.Management.Smo.AbstractCollectionBase
Microsoft.SqlServer.Management.Smo.SmoCollectionBase
Microsoft.SqlServer.Management.Smo.SortedListCollectionBase
Microsoft.SqlServer.Management.Smo.MessageCollectionBase
Microsoft.SqlServer.Management.Smo.UserDefinedMessageCollection
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also