Udostępnij przez


MessageTypeMapping Constructor (ServiceContract, String)

Initializes a new instance of the MessageTypeMapping class for the specified contract and with the specified name.

Namespace: Microsoft.SqlServer.Management.Smo.Broker
Assembly: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)

Syntax

'Deklaracja
Public Sub New ( _
    serviceContract As ServiceContract, _
    name As String _
)
public MessageTypeMapping (
    ServiceContract serviceContract,
    string name
)
public:
MessageTypeMapping (
    ServiceContract^ serviceContract, 
    String^ name
)
public MessageTypeMapping (
    ServiceContract serviceContract, 
    String name
)
public function MessageTypeMapping (
    serviceContract : ServiceContract, 
    name : String
)

Parameters

  • serviceContract
    A ServiceContract object that specifies the contract in which the message type is used.

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.