UIConnectionInfo 构造函数 (UIConnectionInfo, Boolean)
此 API 支持 基础结构,但不能通过代码直接使用。
不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 Initializes a new UIConnectionInfo object with the properties of an existing UIConnectionInfo object and makes another connection to the associated server.
命名空间: Microsoft.SqlServer.Management.Smo.RegSvrEnum
程序集: Microsoft.SqlServer.RegSvrEnum(在 Microsoft.SqlServer.RegSvrEnum.dll 中)
语法
声明
Public Sub New ( _
lhs As UIConnectionInfo, _
generateNewId As Boolean _
)
用法
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
)
参数
- lhs
类型:Microsoft.SqlServer.Management.Smo.RegSvrEnum. . :: . .UIConnectionInfo
An UIConnectionInfo object that supplies the properties for the new UIConnectionInfo object.
- generateNewId
类型:System. . :: . .Boolean
A Boolean value that specifies true if the new connection dialog should get the same ID as the specified dialog, otherwise, false.