Delen via


ServiceQueue.RowCount Property

Gets the number of rows in the service queue.

Namespace:  Microsoft.SqlServer.Management.Smo.Broker
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.Expensive Or SfcPropertyFlags.Standalone)> _
Public ReadOnly Property RowCount As Long 
    Get
'Usage
Dim instance As ServiceQueue 
Dim value As Long 

value = instance.RowCount
[SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Expensive|SfcPropertyFlags.Standalone)]
public long RowCount { get; }
[SfcPropertyAttribute(SfcPropertyFlags::None|SfcPropertyFlags::Expensive|SfcPropertyFlags::Standalone)]
public:
property long long RowCount {
    long long get ();
}
[<SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Expensive|SfcPropertyFlags.Standalone)>]
member RowCount : int64
function get RowCount () : long

Property Value

Type: System.Int64
An Int64 value that specifies the number of rows in the service queue.

Examples

Readme_ServiceBrokerConfiguration

See Also

Reference

ServiceQueue Class

Microsoft.SqlServer.Management.Smo.Broker Namespace

Other Resources

DEL - Development (Service Broker)

Managing Service Broker

Service Broker

CREATE QUEUE (Transact-SQL)