Compartilhar via


Construtor UIConnectionInfo (UIConnectionInfo, Boolean)

Essa API oferece suporte à infraestrutura do e não se destina a ser usada diretamente no seu código.

Não referencie esse membro diretamente no código. Ele dá suporte à infraestrutura do SQL Server. 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 (em Microsoft.SqlServer.RegSvrEnum.dll)

Sintaxe

'Declaração
Public Sub New ( _
    lhs As UIConnectionInfo, _
    generateNewId As Boolean _
)
'Uso
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
)

Parâmetros

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