Compartir a través de


UIConnectionInfo Constructor (UIConnectionInfo, Boolean)

Esta API admite la infraestructura de y no está prevista su utilización directa desde el código.

No haga referencia directamente a este miembro en el código. Admite la infraestructura de SQL Server. Initializes a new UIConnectionInfo object with the properties of an existing UIConnectionInfo object and makes another connection to the associated server.

Espacio de nombres:  Microsoft.SqlServer.Management.Smo.RegSvrEnum
Ensamblado:  Microsoft.SqlServer.RegSvrEnum (en Microsoft.SqlServer.RegSvrEnum.dll)

Sintaxis

'Declaración
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.