ServiceBroker.ServiceContracts 속성

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(Microsoft.SqlServer.Smo.dll)

구문

‘선언
<SfcObjectAttribute(SfcContainerRelationship.ObjectContainer, SfcContainerCardinality.ZeroToAny,  _
    GetType(ServiceContract))> _
Public ReadOnly Property ServiceContracts As ServiceContractCollection 
    Get
‘사용 방법
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

속성 값

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

Readme_ServiceBrokerConfiguration

참고 항목

참조

ServiceBroker 클래스

Microsoft.SqlServer.Management.Smo.Broker 네임스페이스

관련 자료

개발(Service Broker)

Service Broker 관리

개요(Service Broker)