共用方式為


UIConnectionInfo 建構函式 (UIConnectionInfo, Boolean)

此 API 支援 基礎結構,但無法直接從您的程式碼使用。

不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。 Initializes a new UIConnectionInfo object with the properties of an existing UIConnectionInfo object and makes another connection to the associated server.

命名空間:  Microsoft.SqlServer.Management.Smo.RegSvrEnum
組件:  Microsoft.SqlServer.RegSvrEnum (在 Microsoft.SqlServer.RegSvrEnum.dll 中)

語法

'宣告
Public Sub New ( _
    lhs As UIConnectionInfo, _
    generateNewId As Boolean _
)
'用途
Dim lhs As UIConnectionInfo
Dim generateNewId As Boolean

Dim instance As New UIConnectionInfo(lhs, generateNewId)
public UIConnectionInfo(
    UIConnectionInfo lhs,
    bool generateNewId
)
public:
UIConnectionInfo(
    UIConnectionInfo^ lhs, 
    bool generateNewId
)
new : 
        lhs:UIConnectionInfo * 
        generateNewId:bool -> UIConnectionInfo
public function UIConnectionInfo(
    lhs : UIConnectionInfo, 
    generateNewId : boolean
)

參數

  • generateNewId
    型別:System. . :: . .Boolean
    A Boolean value that specifies true if the new connection dialog should get the same ID as the specified dialog, otherwise, false.