MessageTypeStatementBase.ValidationMethod Property
Gets or sets how Service Broker validates the message body for messages of this kind.
Namespace: Microsoft.SqlServer.TransactSql.ScriptDom
Assembly: Microsoft.SqlServer.TransactSql.ScriptDom (in Microsoft.SqlServer.TransactSql.ScriptDom.dll)
Syntax
'Declaration
Public Property ValidationMethod As MessageValidationMethod
Get
Set
'Usage
Dim instance As MessageTypeStatementBase
Dim value As MessageValidationMethod
value = instance.ValidationMethod
instance.ValidationMethod = value
public MessageValidationMethod ValidationMethod { get; set; }
public:
property MessageValidationMethod ValidationMethod {
MessageValidationMethod get ();
void set (MessageValidationMethod value);
}
member ValidationMethod : MessageValidationMethod with get, set
function get ValidationMethod () : MessageValidationMethod
function set ValidationMethod (value : MessageValidationMethod)
Property Value
Type: Microsoft.SqlServer.TransactSql.ScriptDom.MessageValidationMethod
The validation method.