MessageTypeStatementBase.ValidationMethod 属性

Gets or sets how Service Broker validates the message body for messages of this kind.

命名空间:  Microsoft.SqlServer.TransactSql.ScriptDom
程序集:  Microsoft.SqlServer.TransactSql.ScriptDom(在 Microsoft.SqlServer.TransactSql.ScriptDom.dll 中)

语法

声明
Public Property ValidationMethod As MessageValidationMethod 
    Get 
    Set
用法
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)

属性值

类型:Microsoft.SqlServer.TransactSql.ScriptDom.MessageValidationMethod
The validation method.

请参阅

参考

MessageTypeStatementBase 类

Microsoft.SqlServer.TransactSql.ScriptDom 命名空间