MessageType.Drop Method
Removes the Message type.
Namespace: Microsoft.SqlServer.Management.Smo.Broker
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
Public Sub Drop
'Usage
Dim instance As MessageType
instance.Drop()
public void Drop()
public:
virtual void Drop() sealed
abstract Drop : unit -> unit
override Drop : unit -> unit
public final function Drop()
Implements
Remarks
You must drop all the contracts that use the message type before it can be removed.