SqlConnectionInfo Constructor (String)
Initializes a new instance of the SqlConnectionInfo class.
Namespace: Microsoft.SqlServer.Management.Common
Assembly: Microsoft.SqlServer.ConnectionInfo (in Microsoft.SqlServer.ConnectionInfo.dll)
Syntax
'Declaration
Public Sub New ( _
serverName As String _
)
'Usage
Dim serverName As String
Dim instance As New SqlConnectionInfo(serverName)
public SqlConnectionInfo(
string serverName
)
public:
SqlConnectionInfo(
String^ serverName
)
new :
serverName:string -> SqlConnectionInfo
public function SqlConnectionInfo(
serverName : String
)
Parameters
- serverName
Type: System.String
A String object value that specifies the instance of SQL Server.