Partager via


Méthode Add

Adds a MessageType to the collection.

Espace de noms :  Microsoft.SqlServer.Management.Smo.Broker
Assembly :  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
Public Sub Add ( _
    messageType As MessageType _
)
'Utilisation
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
)

Paramètres