BrokerServiceExtender.ServiceContractMappings プロパティ

Service Broker サービスにマップされたコントラクトのコレクションを取得します。

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

構文

'宣言
<ExtendedPropertyAttribute> _
Public ReadOnly Property ServiceContractMappings As ServiceContractMappingCollection 
    Get
'使用
Dim instance As BrokerServiceExtender 
Dim value As ServiceContractMappingCollection 

value = instance.ServiceContractMappings
[ExtendedPropertyAttribute]
public ServiceContractMappingCollection ServiceContractMappings { get; }
[ExtendedPropertyAttribute]
public:
property ServiceContractMappingCollection^ ServiceContractMappings {
    ServiceContractMappingCollection^ get ();
}
[<ExtendedPropertyAttribute>]
member ServiceContractMappings : ServiceContractMappingCollection
function get ServiceContractMappings () : ServiceContractMappingCollection

プロパティ値

型: Microsoft.SqlServer.Management.Smo.Broker.ServiceContractMappingCollection
サービスとコントラクトの関係を示す ServiceContractMappingCollection オブジェクトです。

説明

Service Broker サービスは、着信ダイアログの受け入れ元となる、対象サービス以外のサービスの一覧を示す一連のコントラクトを定義します。 別のサービスとのダイアログを開始する場合は、発信側サービスで指定されたコントラクトが対象サービスのコントラクト セットに属している必要があります。 これに対して、発信側サービスでは、そのコントラクト セットの一部でないコントラクトを使用してダイアログを開始することができます。

サービスは、空のサービス コントラクト セットを使用して作成できます。

関連項目

参照

BrokerServiceExtender クラス

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