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
- messageTypeMapping
Type: Microsoft.SqlServer.Management.Smo.Broker.MessageTypeMapping
A MessageTypeMapping object that specifies the object that is to be added to the collection.
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
See Also
Reference
MessageTypeMappingCollection Class
Microsoft.SqlServer.Management.Smo.Broker Namespace