Construtor UIConnectionInfo (UIConnectionInfo, Boolean)
Essa API oferece suporte à infraestrutura do SQL Server 2012 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
- lhs
Tipo: Microsoft.SqlServer.Management.Smo.RegSvrEnum.UIConnectionInfo
An UIConnectionInfo object that supplies the properties for the new UIConnectionInfo object.
- 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.