Class ServiceBrokerSchema.ServiceQueue
- Namespace
- LinqToDB.Tools.DataProvider.SqlServer.Schemas
- Assembly
- linq2db.Tools.dll
sys.service_queues (Transact-SQL)
Applies to: √ SQL Server
Contains a row for each object in the database that is a service queue, with sys.objects.type = SQ.
See sys.service_queues.
[Table(Schema = "sys", Name = "service_queues", IsView = true)]
public class ServiceBrokerSchema.ServiceQueue
- Inheritance
-
ServiceBrokerSchema.ServiceQueue
- Inherited Members
- Extension Methods
Properties
ActivationProcedure
activation_procedure NULL nvarchar(776)
Three-part name of the activation procedure.[Column("activation_procedure")]
[Nullable]
public string? ActivationProcedure { get; set; }
Property Value
CreateDate
create_date NOT NULL datetime
Date the object was created.[Column("create_date")]
[NotNull]
public DateTime CreateDate { get; set; }
Property Value
ExecuteAsPrincipalID
execute_as_principal_id NULL int
ID of the EXECUTE AS database principal.NULL by default or if EXECUTE AS CALLER.
ID of the specified principal if EXECUTE AS SELF EXECUTE AS <principal>.
-2 = EXECUTE AS OWNER.
[Column("execute_as_principal_id")]
[Nullable]
public int? ExecuteAsPrincipalID { get; set; }
Property Value
- int?
IsActivationEnabled
is_activation_enabled NOT NULL bit
1 = Activation is enabled.[Column("is_activation_enabled")]
[NotNull]
public bool IsActivationEnabled { get; set; }
Property Value
IsEnqueueEnabled
is_enqueue_enabled NOT NULL bit
1 = Enqueue is enabled.[Column("is_enqueue_enabled")]
[NotNull]
public bool IsEnqueueEnabled { get; set; }
Property Value
IsMSShipped
is_ms_shipped NOT NULL bit
Object is created by an internal SQL Server component.[Column("is_ms_shipped")]
[NotNull]
public bool IsMSShipped { get; set; }
Property Value
IsPoisonMessageHandlingEnabled
is_poison_message_handling_enabled NULL bit
Applies to: SQL Server 2012 (11.x) and later.1 = Poison message handling is enabled.
[Column("is_poison_message_handling_enabled")]
[Nullable]
public bool? IsPoisonMessageHandlingEnabled { get; set; }
Property Value
- bool?
IsPublished
is_published NOT NULL bit
Object is published.[Column("is_published")]
[NotNull]
public bool IsPublished { get; set; }
Property Value
IsReceiveEnabled
is_receive_enabled NOT NULL bit
1 = Receive is enabled.[Column("is_receive_enabled")]
[NotNull]
public bool IsReceiveEnabled { get; set; }
Property Value
IsRetentionEnabled
is_retention_enabled NOT NULL bit
1 = Messages are retained until dialog end.[Column("is_retention_enabled")]
[NotNull]
public bool IsRetentionEnabled { get; set; }
Property Value
IsSchemaPublished
is_schema_published NOT NULL bit
Only the schema of the object is published.[Column("is_schema_published")]
[NotNull]
public bool IsSchemaPublished { get; set; }
Property Value
MaxReaders
max_readers NULL smallint
Maximum number of the concurrent readers allowed in the queue.[Column("max_readers")]
[Nullable]
public short? MaxReaders { get; set; }
Property Value
ModifyDate
modify_date NOT NULL datetime
Date the object was last modified by using anALTER statement. If the object is a table or a view, modify_date also changes when an index on the table or view is created or altered.
[Column("modify_date")]
[NotNull]
public DateTime ModifyDate { get; set; }
Property Value
Name
name NOT NULL sysname
Object name.[Column("name")]
[NotNull]
public string Name { get; set; }
Property Value
Object
objects (sys.objects)
[Association(ThisKey = "ObjectID", OtherKey = "ObjectID", CanBeNull = false)]
public ObjectSchema.Object Object { get; set; }
Property Value
ObjectID
object_id NOT NULL int
Object identification number. Is unique within a database.[Column("object_id")]
[NotNull]
public int ObjectID { get; set; }
Property Value
ParentObjectID
parent_object_id NOT NULL int
ID of the object to which this object belongs.0 = Not a child object.
[Column("parent_object_id")]
[NotNull]
public int ParentObjectID { get; set; }
Property Value
PrincipalID
principal_id NULL int
ID of the individual owner, if different from the schema owner. By default, schema-contained objects are owned by the schema owner. However, an alternate owner can be specified by using theALTER AUTHORIZATION statement to change ownership.NULL if there's no alternate individual owner.Is
NULL if the object type is one of the following values:C = Check constraintD = Default (constraint or stand-alone)F = Foreign key constraintPK = Primary key constraintR = Rule (old-style, stand-alone)TA = Assembly (CLR-integration) triggerTR = SQL triggerUQ = Unique constraintEC = Edge constraint
[Column("principal_id")]
[Nullable]
public int? PrincipalID { get; set; }
Property Value
- int?
SchemaID
schema_id NOT NULL int
ID of the schema that the object is contained in.Schema-scoped system objects are always contained in the sys or
INFORMATION_SCHEMA schemas.
[Column("schema_id")]
[NotNull]
public int SchemaID { get; set; }
Property Value
Type
type NULL char(2)
Object type:AF = Aggregate function (CLR)C = Check constraintD = Default (constraint or stand-alone)F = Foreign key constraintFN = SQL scalar functionFS = Assembly (CLR) scalar-functionFT = Assembly (CLR) table-valued functionIF = SQL inline table-valued function (TVF)IT = Internal tableP = SQL stored procedurePC = Assembly (CLR) stored-procedurePG = Plan guidePK = Primary key constraintR = Rule (old-style, stand-alone)RF = Replication-filter-procedureS = System base tableSN = SynonymSO = Sequence objectU = Table (user-defined)V = ViewApplies to: SQL Server 2012 (11.x) and later versions
SQ = Service queueTA = Assembly (CLR) DML triggerTF = SQL table-valued-function (TVF)TR = SQL DML triggerTT = Table typeUQ = unique constraintX = Extended stored procedureApplies to: SQL Server 2014 (12.x) and later versions, Azure SQL Database, Azure Synapse Analytics, Analytics Platform System (PDW)
ST = Statistics treeApplies to: SQL Server 2016 (13.x) and later versions, Azure SQL Database, Azure Synapse Analytics, Analytics Platform System (PDW)
ET = External tableApplies to: SQL Server 2017 (14.x) and later versions, Azure SQL Database, Azure Synapse Analytics, Analytics Platform System (PDW)
EC = Edge constraint
[Column("type")]
[Nullable]
public string? Type { get; set; }
Property Value
TypeDesc
type_desc NULL nvarchar(60)
Description of the object type:AGGREGATE_FUNCTIONCHECK_CONSTRAINTCLR_SCALAR_FUNCTIONCLR_STORED_PROCEDURECLR_TABLE_VALUED_FUNCTIONCLR_TRIGGERDEFAULT_CONSTRAINTEDGE_CONSTRAINTEXTENDED_STORED_PROCEDUREFOREIGN_KEY_CONSTRAINTINTERNAL_TABLEPLAN_GUIDEPRIMARY_KEY_CONSTRAINTREPLICATION_FILTER_PROCEDURERULESEQUENCE_OBJECTSERVICE_QUEUESQL_INLINE_TABLE_VALUED_FUNCTIONSQL_SCALAR_FUNCTIONSQL_STORED_PROCEDURESQL_TABLE_VALUED_FUNCTIONSQL_TRIGGERSYNONYMSYSTEM_TABLETYPE_TABLEUNIQUE_CONSTRAINTUSER_TABLEVIEW
[Column("type_desc")]
[Nullable]
public string? TypeDesc { get; set; }