MessageTypeMapping.MarkForDrop Method (Boolean)
Applies To: SQL Server 2016 Preview
Removes the MessageTypeMapping object.
Namespace: Microsoft.SqlServer.Management.Smo.Broker
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
public void MarkForDrop(
bool dropOnAlter
)
public:
virtual void MarkForDrop(
bool dropOnAlter
) sealed
abstract MarkForDrop :
dropOnAlter:bool -> unit
override MarkForDrop :
dropOnAlter:bool -> unit
Public Sub MarkForDrop (
dropOnAlter As Boolean
)
Parameters
dropOnAlter
Type: System.BooleanA Boolean value that specifies whether to remove the object when the Alter method of the parent object is run.
If True, the object is removed when the Alter method of the parent object is run.
If False, the object is not removed when the Alter method of the parent object is run.
Implements
IMarkForDrop.MarkForDrop(Boolean)
Examples
Legacy Code Example
Unable to find linked topic '6b6e21f0-f58b-4d16-a6d8-81645503d2bf'.
See Also
MessageTypeMapping Class
Microsoft.SqlServer.Management.Smo.Broker Namespace
Unable to find linked topic '2b3b1bb2-f637-4ff3-801d-e573d4223990'.Unable to find linked topic 'bffb59f3-8790-4414-8669-44b852c36db7'.
Return to top