ServiceContractMappings プロパティ
Service Broker サービスにマップされたコントラクトのコレクションを取得します。
名前空間: Microsoft.SqlServer.Management.Smo.Broker
アセンブリ: Microsoft.SqlServer.Smo (Microsoft.SqlServer.Smo.dll)
構文
'宣言
<SfcObjectAttribute(SfcContainerRelationship.ChildContainer, SfcContainerCardinality.ZeroToAny, _
GetType(ServiceContractMapping))> _
Public ReadOnly Property ServiceContractMappings As ServiceContractMappingCollection
Get
'使用
Dim instance As BrokerService
Dim value As ServiceContractMappingCollection
value = instance.ServiceContractMappings
[SfcObjectAttribute(SfcContainerRelationship.ChildContainer, SfcContainerCardinality.ZeroToAny,
typeof(ServiceContractMapping))]
public ServiceContractMappingCollection ServiceContractMappings { get; }
[SfcObjectAttribute(SfcContainerRelationship::ChildContainer, SfcContainerCardinality::ZeroToAny,
typeof(ServiceContractMapping))]
public:
property ServiceContractMappingCollection^ ServiceContractMappings {
ServiceContractMappingCollection^ get ();
}
[<SfcObjectAttribute(SfcContainerRelationship.ChildContainer, SfcContainerCardinality.ZeroToAny,
typeof(ServiceContractMapping))>]
member ServiceContractMappings : ServiceContractMappingCollection
function get ServiceContractMappings () : ServiceContractMappingCollection
プロパティ値
型: Microsoft.SqlServer.Management.Smo.Broker. . :: . .ServiceContractMappingCollection
サービスとコントラクトの関係を示す ServiceContractMappingCollection オブジェクトです。
説明
Service Broker サービスは、着信ダイアログの受け入れ元となる、対象サービス以外のサービスの一覧を示す一連のコントラクトを定義します。別のサービスとのダイアログを開始する場合は、発信側サービスで指定されたコントラクトが対象サービスのコントラクト セットに属している必要があります。これに対して、発信側サービスでは、そのコントラクト セットの一部でないコントラクトを使用してダイアログを開始することができます。
サービスは、空のサービス コントラクト セットを使用して作成できます。