Freigeben über


UIConnectionInfo-Konstruktor (UIConnectionInfo, Boolean)

Diese API unterstützt die SQL Server 2012-Infrastruktur und ist nicht zur direkten Verwendung im Code bestimmt.

Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur. Initializes a new UIConnectionInfo object with the properties of an existing UIConnectionInfo object and makes another connection to the associated server.

Namespace:  Microsoft.SqlServer.Management.Smo.RegSvrEnum
Assembly:  Microsoft.SqlServer.RegSvrEnum (in Microsoft.SqlServer.RegSvrEnum.dll)

Syntax

'Declaration
Public Sub New ( _
    lhs As UIConnectionInfo, _
    generateNewId As Boolean _
)
'Usage
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
)

Parameter

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

Siehe auch

Verweis

UIConnectionInfo Klasse

UIConnectionInfo-Überladung

Microsoft.SqlServer.Management.Smo.RegSvrEnum-Namespace