Delen via


MessageTypeMappingCollection.Add Method

Adds a MessageTypeMapping object to the collection.

Namespace:  Microsoft.SqlServer.Management.Smo.Broker
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
Public Sub Add ( _
    messageTypeMapping As MessageTypeMapping _
)
'Usage
Dim instance As MessageTypeMappingCollection 
Dim messageTypeMapping As MessageTypeMapping

instance.Add(messageTypeMapping)
public void Add(
    MessageTypeMapping messageTypeMapping
)
public:
void Add(
    MessageTypeMapping^ messageTypeMapping
)
member Add : 
        messageTypeMapping:MessageTypeMapping -> unit
public function Add(
    messageTypeMapping : MessageTypeMapping
)

Parameters

Remarks

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.

Examples

Using Collections

See Also

Reference

MessageTypeMappingCollection Class

Microsoft.SqlServer.Management.Smo.Broker Namespace

Other Resources

Using Collections