共用方式為


MessageType.MessageTypeValidation 屬性

Gets or sets the type of validation performed on message body.

命名空間:  Microsoft.SqlServer.Management.Smo.Broker
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property MessageTypeValidation As MessageTypeValidation 
    Get 
    Set
'用途
Dim instance As MessageType 
Dim value As MessageTypeValidation 

value = instance.MessageTypeValidation

instance.MessageTypeValidation = value
[SfcPropertyAttribute(SfcPropertyFlags.Standalone)]
public MessageTypeValidation MessageTypeValidation { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::Standalone)]
public:
property MessageTypeValidation MessageTypeValidation {
    MessageTypeValidation get ();
    void set (MessageTypeValidation value);
}
[<SfcPropertyAttribute(SfcPropertyFlags.Standalone)>]
member MessageTypeValidation : MessageTypeValidation with get, set
function get MessageTypeValidation () : MessageTypeValidation 
function set MessageTypeValidation (value : MessageTypeValidation)

屬性值

型別:Microsoft.SqlServer.Management.Smo.Broker.MessageTypeValidation
A MessageTypeValidation object value that specifies the type of validation performed on the message body.

範例

Readme_ServiceBrokerConfiguration

請參閱

參考

MessageType 類別

Microsoft.SqlServer.Management.Smo.Broker 命名空間

其他資源

開發 (Service Broker)

管理 Service Broker

概觀 (Service Broker)

CREATE MESSAGE TYPE (Transact-SQL)