Costruttore UIConnectionInfo (UIConnectionInfo, Boolean)
Questa API supporta l'infrastruttura e non può essere utilizzata direttamente dal codice.
Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server. Initializes a new UIConnectionInfo object with the properties of an existing UIConnectionInfo object and makes another connection to the associated server.
Spazio dei nomi Microsoft.SqlServer.Management.Smo.RegSvrEnum
Assembly: Microsoft.SqlServer.RegSvrEnum (in Microsoft.SqlServer.RegSvrEnum.dll)
Sintassi
'Dichiarazione
Public Sub New ( _
lhs As UIConnectionInfo, _
generateNewId As Boolean _
)
'Utilizzo
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
)
Parametri
- 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.