Aracılığıyla paylaş


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

'Bildirim
Public Sub New ( _
    serverName As String _
)
'Kullanım
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.

See Also

Reference

SqlConnectionInfo Class

SqlConnectionInfo Overload

Microsoft.SqlServer.Management.Common Namespace