Compartir a través de


ServiceBroker.ServiceContracts Propiedad

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

Espacio de nombres:  Microsoft.SqlServer.Management.Smo.Broker
Ensamblado:  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Sintaxis

'Declaración
<SfcObjectAttribute(SfcContainerRelationship.ObjectContainer, SfcContainerCardinality.ZeroToAny,  _
    GetType(ServiceContract))> _
Public ReadOnly Property ServiceContracts As ServiceContractCollection 
    Get
'Uso
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

Valor de la propiedad

Tipo: Microsoft.SqlServer.Management.Smo.Broker.ServiceContractCollection
A ServiceContractCollection object that represents all the service contracts defined on the instance of Service Broker.

Ejemplos

Readme_ServiceBrokerConfiguration

Vea también

Referencia

ServiceBroker Clase

Espacio de nombres Microsoft.SqlServer.Management.Smo.Broker

Otros recursos

Desarrollo (Service Broker)

Administrar Service Broker

Información general (Service Broker)