Właściwość BrokerServiceExtender.ServiceContractMappings
Pobiera kolekcja umów, które są mapowane do Service Broker usługa.
Przestrzeń nazw: Microsoft.SqlServer.Management.Smo.Broker
Zestaw: Microsoft.SqlServer.Smo (w Microsoft.SqlServer.Smo.dll)
Składnia
'Deklaracja
<ExtendedPropertyAttribute> _
Public ReadOnly Property ServiceContractMappings As ServiceContractMappingCollection
Get
'Użycie
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
Wartość właściwości
Typ: Microsoft.SqlServer.Management.Smo.Broker.ServiceContractMappingCollection
A ServiceContractMappingCollection obiekt, który wyświetla listę relacji między usługa i umów.
Uwagi
A Service Broker usługi definiuje zestaw zamówień, które listę innych usług, z których usługa miejsce docelowe będzie akceptować przychodzące okien dialogowych.Jeśli usługa próbuje uruchomić okno dialogowe z inną usługą, kontrakt określony przez usługi inicjatora muszą należeć do zestaw kontrakt usługi miejsce docelowe.Z drugiej strony Usługa inicjatora można rozpocząć okno dialogowe, za pomocą kontrakt, która nie jest częścią własny zestaw kontrakt.
usługa mogą być tworzone z zestaw kontrakt usługa puste.
Zobacz także