다음을 통해 공유


MessageType Constructor (ServiceBroker, String)

Initializes a new instance of the MessageType class on the specified implementation of Service Broker and with the specified name.

네임스페이스: Microsoft.SqlServer.Management.Smo.Broker
어셈블리: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)

구문

‘선언
Public Sub New ( _
    serviceBroker As ServiceBroker, _
    name As String _
)
public MessageType (
    ServiceBroker serviceBroker,
    string name
)
public:
MessageType (
    ServiceBroker^ serviceBroker, 
    String^ name
)
public MessageType (
    ServiceBroker serviceBroker, 
    String name
)
public function MessageType (
    serviceBroker : ServiceBroker, 
    name : String
)

매개 변수

  • serviceBroker
    A ServiceBroker object value that specifies the implementation of Microsoft Service Broker on which the message type is defined.
  • name
    A String value that specifies the name of the message type.

Readme_ServiceBrokerConfiguration

플랫폼

개발 플랫폼

지원되는 플랫폼 목록은 SQL Server 2005 설치를 위한 하드웨어 및 소프트웨어 요구 사항을 참조하십시오.

대상 플랫폼

지원되는 플랫폼 목록은 SQL Server 2005 설치를 위한 하드웨어 및 소프트웨어 요구 사항을 참조하십시오.

참고 항목

참조

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

관련 자료

Service Broker Programming
Managing Service Broker
Service Broker 소개
CREATE MESSAGE TYPE(Transact-SQL)