Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
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
'Declaration
<SfcObjectAttribute(SfcContainerRelationship.ObjectContainer, SfcContainerCardinality.ZeroToAny, _
GetType(ServiceContract))> _
Public ReadOnly Property ServiceContracts As ServiceContractCollection
Get
'Usage
Dim instance As ServiceBroker
Dim value As ServiceContractCollection
value = instance.ServiceContracts
[SfcObjectAttribute(SfcContainerRelationship.ObjectContainer, SfcContainerCardinality.ZeroToAny,
typeof(ServiceContract))]
public ServiceContractCollection ServiceContracts { get; }
[SfcObjectAttribute(SfcContainerRelationship::ObjectContainer, SfcContainerCardinality::ZeroToAny,
typeof(ServiceContract))]
public:
property ServiceContractCollection^ ServiceContracts {
ServiceContractCollection^ get ();
}
[<SfcObjectAttribute(SfcContainerRelationship.ObjectContainer, SfcContainerCardinality.ZeroToAny,
typeof(ServiceContract))>]
member ServiceContracts : ServiceContractCollection
function get ServiceContracts () : ServiceContractCollection
Property Value
Type: Microsoft.SqlServer.Management.Smo.Broker.ServiceContractCollection
A ServiceContractCollection object that represents all the service contracts defined on the instance of Service Broker.
Examples
Readme_ServiceBrokerConfiguration
See Also
Reference
Microsoft.SqlServer.Management.Smo.Broker Namespace