Поделиться через


ServiceBroker.ServiceContracts Property

Represents a collection of ServiceContract objects. Each ServiceContract object represents a service contract defined on the instance of Service Broker.

Пространство имен: Microsoft.SqlServer.Management.Smo.Broker
Сборка: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)

Синтаксис

'Декларация
Public ReadOnly Property ServiceContracts As ServiceContractCollection
public ServiceContractCollection ServiceContracts { get; }
public:
property ServiceContractCollection^ ServiceContracts {
    ServiceContractCollection^ get ();
}
/** @property */
public ServiceContractCollection get_ServiceContracts ()
public function get ServiceContracts () : ServiceContractCollection

Значение свойства

A ServiceContractCollection object that represents all the service contracts defined on the instance of Service Broker.

Замечания

Это пространство имен, класс или элемент поддерживаются только платформой Microsoft .NET Framework версии 2.0.

Пример

Readme_ServiceBrokerConfiguration

Синхронизация потоков

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Платформы

Платформы разработки

Список поддерживаемых платформ см. в разделе Hardware and Software Requirements for Installing SQL Server 2005.

Целевые платформы

Список поддерживаемых платформ см. в разделе Hardware and Software Requirements for Installing SQL Server 2005.

См. также

Справочник

ServiceBroker Class
ServiceBroker Members
Microsoft.SqlServer.Management.Smo.Broker Namespace

Другие ресурсы

Service Broker Programming
Managing Service Broker
Знакомство с компонентом Service Broker