共用方式為


MessageTypeStatementBase.ValidationMethod 屬性

取得或設定 Service Broker 如何驗證這種訊息的訊息主體。

命名空間:  Microsoft.Data.Schema.ScriptDom.Sql
組件:  Microsoft.Data.Schema.ScriptDom.Sql (在 Microsoft.Data.Schema.ScriptDom.Sql.dll 中)

語法

'宣告
Public Property ValidationMethod As MessageValidationMethod
    Get
    Set
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.Data.Schema.ScriptDom.Sql.MessageValidationMethod
傳回 MessageValidationMethod

.NET Framework 安全性

請參閱

參考

MessageTypeStatementBase 類別

Microsoft.Data.Schema.ScriptDom.Sql 命名空間