ServiceBroker.ServiceContracts Property
Represents a collection of ServiceContract objects. Each ServiceContract object represents a service contract defined on the instance of Service Broker.
Namespace: Microsoft.SqlServer.Management.Smo.Broker
Assembly: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)
Syntax
'Deklaracja
<SfcObjectAttribute(SfcContainerRelationship.ObjectContainer, SfcContainerCardinality.ZeroToAny, GetType(ServiceContract))> _
Public ReadOnly Property ServiceContracts As ServiceContractCollection
[SfcObjectAttribute(SfcContainerRelationship.ObjectContainer, SfcContainerCardinality.ZeroToAny, typeof(ServiceContract))]
public ServiceContractCollection ServiceContracts { get; }
[SfcObjectAttribute(SfcContainerRelationship::ObjectContainer, SfcContainerCardinality::ZeroToAny, typeof(ServiceContract))]
public:
property ServiceContractCollection^ ServiceContracts {
ServiceContractCollection^ get ();
}
/** @property */
public ServiceContractCollection get_ServiceContracts ()
public function get ServiceContracts () : ServiceContractCollection
Property Value
A ServiceContractCollection object that represents all the service contracts defined on the instance of Service Broker.
Thread Safety
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.
Platforms
Development Platforms
For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.
Target Platforms
For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.