Table of Contents

Class ServiceBrokerSchema.ServiceMessageType

Namespace
LinqToDB.Tools.DataProvider.SqlServer.Schemas
Assembly
linq2db.Tools.dll

sys.service_message_types (Transact-SQL)

Applies to: √ SQL Server (all supported versions)

This catalog view contains a row per message type registered in the service broker.


See sys.service_message_types.

[Table(Schema = "sys", Name = "service_message_types", IsView = true)]
public class ServiceBrokerSchema.ServiceMessageType
Inheritance
ServiceBrokerSchema.ServiceMessageType
Extension Methods

Properties

MessageTypeID

Identifier of the message type, unique within the database. Not NULLABLE.

[Column("message_type_id")]
[NotNull]
public int MessageTypeID { get; set; }

Property Value

int

Name

Name of message type, unique within the database. Not NULLABLE.

[Column("name")]
[NotNull]
public string Name { get; set; }

Property Value

string

PrincipalID

Identifier for the database principal that owns this message type. NULLABLE.

[Column("principal_id")]
[Nullable]
public int? PrincipalID { get; set; }

Property Value

int?

Validation

Validation done by Broker prior to sending messages of this type. Not NULLABLE. One of:

N = None

X = XML

E = Empty

[Column("validation")]
[NotNull]
public string Validation { get; set; }

Property Value

string

ValidationDesc

Description of the validation done by Broker prior to sending messages of this type. NULLABLE. One of:

NONE

XML

EMPTY

[Column("validation_desc")]
[Nullable]
public string? ValidationDesc { get; set; }

Property Value

string

XmlCollectionID

For validation that uses an XML schema, the identifier for the schema collection used.

Otherwise, NULL.

[Column("xml_collection_id")]
[Nullable]
public int? XmlCollectionID { get; set; }

Property Value

int?