UIConnectionInfo Constructor (UIConnectionInfo, Boolean)

This API supports the SQL Server 2012 infrastructure and is not intended to be used directly from your code.

Do not reference this member directly in your code. It supports the SQL Server infrastructure. 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
)

Parameters

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

See Also

Reference

UIConnectionInfo Class

UIConnectionInfo Overload

Microsoft.SqlServer.Management.Smo.RegSvrEnum Namespace