次の方法で共有


ServiceQueue.RowCount プロパティ

サービス キューの行数を取得します。

名前空間:  Microsoft.SqlServer.Management.Smo.Broker
アセンブリ:  Microsoft.SqlServer.Smo (Microsoft.SqlServer.Smo.dll)

構文

'宣言
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.Expensive Or SfcPropertyFlags.Standalone)> _
Public ReadOnly Property RowCount As Long 
    Get
'使用
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

プロパティ値

型: System.Int64
サービス キューの行数を示す Int64 値です。

使用例

Readme_ServiceBrokerConfiguration

関連項目

参照

ServiceQueue クラス

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

その他の技術情報

開発 (Service Broker)

Service Broker の管理

概要 (Service Broker)

CREATE QUEUE (Transact-SQL)