SqlConnectionInfo constructeur (String)
Initializes a new instance of the SqlConnectionInfo class.
Espace de noms : Microsoft.SqlServer.Management.Common
Assembly : Microsoft.SqlServer.ConnectionInfo (dans Microsoft.SqlServer.ConnectionInfo.dll)
Syntaxe
'Déclaration
Public Sub New ( _
serverName As String _
)
'Utilisation
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
)
Paramètres
- serverName
Type : System. . :: . .String
A String object value that specifies the instance of SQL Server.