Konstruktor SqlConnectionInfo (String)
Inicjuje nowe wystąpienie SqlConnectionInfo klasy
Przestrzeń nazw: Microsoft.SqlServer.Management.Common
Zestaw: Microsoft.SqlServer.ConnectionInfo (w Microsoft.SqlServer.ConnectionInfo.dll)
Składnia
'Deklaracja
Public Sub New ( _
serverName As String _
)
'Użycie
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
)
Parametry
- serverName
Typ: System.String
A String wartość obiektu, który określa wystąpienie SQL Server.