Share via


MessageType.MessageTypeValidation Property

Gets or sets the type of validation performed on message body.

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

Syntax

'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property MessageTypeValidation As MessageTypeValidation
    Get
    Set
'Usage
Dim instance As MessageType
Dim value As MessageTypeValidation

value = instance.MessageTypeValidation

instance.MessageTypeValidation = value
[SfcPropertyAttribute(SfcPropertyFlags.Standalone)]
public MessageTypeValidation MessageTypeValidation { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::Standalone)]
public:
property MessageTypeValidation MessageTypeValidation {
    MessageTypeValidation get ();
    void set (MessageTypeValidation value);
}
[<SfcPropertyAttribute(SfcPropertyFlags.Standalone)>]
member MessageTypeValidation : MessageTypeValidation with get, set
function get MessageTypeValidation () : MessageTypeValidation
function set MessageTypeValidation (value : MessageTypeValidation)

Property Value

Type: Microsoft.SqlServer.Management.Smo.Broker.MessageTypeValidation
A MessageTypeValidation object value that specifies the type of validation performed on the message body.