Construtor SqlConnectionInfo (String)
Initializes a new instance of the SqlConnectionInfo class.
Namespace: Microsoft.SqlServer.Management.Common
Assembly: Microsoft.SqlServer.ConnectionInfo (em Microsoft.SqlServer.ConnectionInfo.dll)
Sintaxe
'Declaração
Public Sub New ( _
serverName As String _
)
'Uso
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
)
Parâmetros
- serverName
Tipo: System. . :: . .String
A String object value that specifies the instance of SQL Server.
Consulte também