共用方式為


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 命名空間