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 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。