Compartilhar via


Método Add

Adds a MessageType to the collection.

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

Sintaxe

'Declaração
Public Sub Add ( _
    messageType As MessageType _
)
'Uso
Dim instance As MessageTypeCollection
Dim messageType As MessageType

instance.Add(messageType)
public void Add(
    MessageType messageType
)
public:
void Add(
    MessageType^ messageType
)
member Add : 
        messageType:MessageType -> unit 
public function Add(
    messageType : MessageType
)

Parâmetros