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> _
Public Property MessageTypeValidation As MessageTypeValidation
    Get
    Set
'Usage
Dim instance As MessageType
Dim value As MessageTypeValidation

value = instance.MessageTypeValidation

instance.MessageTypeValidation = value
[SfcPropertyAttribute]
public MessageTypeValidation MessageTypeValidation { get; set; }
[SfcPropertyAttribute]
public:
property MessageTypeValidation MessageTypeValidation {
    MessageTypeValidation get ();
    void set (MessageTypeValidation value);
}
[<SfcPropertyAttribute>]
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.