共用方式為


MSMQConn 類別

Contains the methods and properties used by Message Queuing (MSMQ) connections. It has been defined with the DtsConnection attribute, DtsConnectionAttribute.

命名空間:  Microsoft.SqlServer.Dts.ManagedConnections
組件:  Microsoft.SqlServer.ManagedConnections (在 Microsoft.SqlServer.ManagedConnections.dll 中)

語法

'宣告
<DtsConnectionAttribute(LocalizationType := GetType(MSMQConn), ConnectionType := "MSMQ",  _
    ConnectionContact := "Microsoft Corporation", UITypeName := "Microsoft.DataTransformationServices.Design.MsmqConnectionManagerUI, Microsoft.DataTransformationServices.Design, Version=10.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91")> _
Public Class MSMQConn _
    Inherits ConnectionManagerBase _
    Implements IDTSComponentPersist
'用途
Dim instance As MSMQConn
[DtsConnectionAttribute(LocalizationType = typeof(MSMQConn), ConnectionType = "MSMQ", 
    ConnectionContact = "Microsoft Corporation", UITypeName = "Microsoft.DataTransformationServices.Design.MsmqConnectionManagerUI, Microsoft.DataTransformationServices.Design, Version=10.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91")]
public class MSMQConn : ConnectionManagerBase, IDTSComponentPersist
[DtsConnectionAttribute(LocalizationType = typeof(MSMQConn), ConnectionType = L"MSMQ", 
    ConnectionContact = L"Microsoft Corporation", UITypeName = L"Microsoft.DataTransformationServices.Design.MsmqConnectionManagerUI, Microsoft.DataTransformationServices.Design, Version=10.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91")]
public ref class MSMQConn : public ConnectionManagerBase, 
    IDTSComponentPersist
[<DtsConnectionAttribute(LocalizationType = typeof(MSMQConn), ConnectionType = "MSMQ", 
    ConnectionContact = "Microsoft Corporation", UITypeName = "Microsoft.DataTransformationServices.Design.MsmqConnectionManagerUI, Microsoft.DataTransformationServices.Design, Version=10.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91")>]
type MSMQConn =  
    class
        inherit ConnectionManagerBase
        interface IDTSComponentPersist
    end
public class MSMQConn extends ConnectionManagerBase implements IDTSComponentPersist

繼承階層

System. . :: . .Object
  Microsoft.SqlServer.Dts.Runtime. . :: . .DtsObject
    Microsoft.SqlServer.Dts.Runtime. . :: . .ConnectionManagerBase
      Microsoft.SqlServer.Dts.ManagedConnections..::..MSMQConn

執行緒安全性

這個類型的任何公用static (在 Visual Basic 中為 Shared) 成員都是安全執行緒。不保證任何執行個體成員都可以是安全執行緒。