UIConnectionInfo Constructors

Definition

Do not reference this member directly in your code. It supports the SQL Server infrastructure. Initializes a new UIConnectionInfo object to contain the properties of a SQL Server Management Studio connection dialog.

Overloads

UIConnectionInfo()

Do not reference this member directly in your code. It supports the SQL Server infrastructure. Initializes a default UIConnectionInfo object for a SQL Server Management Studio connection dialog.

UIConnectionInfo(UIConnectionInfo)

Do not reference this member directly in your code. It supports the SQL Server infrastructure. Initializes a new instance of the UIConnectionInfo class with the same properties as an existing UIConnectionInfo object and makes another connection to the associated server.

UIConnectionInfo(UIConnectionInfo, Boolean)

Do not reference this member directly in your code. It supports the SQL Server infrastructure. Initializes a new UIConnectionInfo object with the properties of an existing UIConnectionInfo object and makes another connection to the associated server.

UIConnectionInfo()

Do not reference this member directly in your code. It supports the SQL Server infrastructure. Initializes a default UIConnectionInfo object for a SQL Server Management Studio connection dialog.

public:
 UIConnectionInfo();
public UIConnectionInfo ();
Public Sub New ()

Remarks

The default constructor initializes fields to their default settings.

Applies to

UIConnectionInfo(UIConnectionInfo)

Do not reference this member directly in your code. It supports the SQL Server infrastructure. Initializes a new instance of the UIConnectionInfo class with the same properties as an existing UIConnectionInfo object and makes another connection to the associated server.

public:
 UIConnectionInfo(Microsoft::SqlServer::Management::Smo::RegSvrEnum::UIConnectionInfo ^ lhs);
public UIConnectionInfo (Microsoft.SqlServer.Management.Smo.RegSvrEnum.UIConnectionInfo lhs);
new Microsoft.SqlServer.Management.Smo.RegSvrEnum.UIConnectionInfo : Microsoft.SqlServer.Management.Smo.RegSvrEnum.UIConnectionInfo -> Microsoft.SqlServer.Management.Smo.RegSvrEnum.UIConnectionInfo
Public Sub New (lhs As UIConnectionInfo)

Parameters

lhs
UIConnectionInfo

An UIConnectionInfo object that supplies the properties for the new UIConnectionInfo object.

Applies to

UIConnectionInfo(UIConnectionInfo, Boolean)

Do not reference this member directly in your code. It supports the SQL Server infrastructure. Initializes a new UIConnectionInfo object with the properties of an existing UIConnectionInfo object and makes another connection to the associated server.

public:
 UIConnectionInfo(Microsoft::SqlServer::Management::Smo::RegSvrEnum::UIConnectionInfo ^ lhs, bool generateNewId);
public UIConnectionInfo (Microsoft.SqlServer.Management.Smo.RegSvrEnum.UIConnectionInfo lhs, bool generateNewId);
new Microsoft.SqlServer.Management.Smo.RegSvrEnum.UIConnectionInfo : Microsoft.SqlServer.Management.Smo.RegSvrEnum.UIConnectionInfo * bool -> Microsoft.SqlServer.Management.Smo.RegSvrEnum.UIConnectionInfo
Public Sub New (lhs As UIConnectionInfo, generateNewId As Boolean)

Parameters

lhs
UIConnectionInfo

An UIConnectionInfo object that supplies the properties for the new UIConnectionInfo object.

generateNewId
Boolean

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

Applies to