SqlConnectionInfo 建構函式 (SqlConnectionInfo)
Initializes a new instance of the SqlConnectionInfo class.
命名空間: Microsoft.SqlServer.Management.Common
組件: Microsoft.SqlServer.ConnectionInfo (在 Microsoft.SqlServer.ConnectionInfo.dll 中)
語法
'宣告
Public Sub New ( _
conn As SqlConnectionInfo _
)
'用途
Dim conn As SqlConnectionInfo
Dim instance As New SqlConnectionInfo(conn)
public SqlConnectionInfo(
SqlConnectionInfo conn
)
public:
SqlConnectionInfo(
SqlConnectionInfo^ conn
)
new :
conn:SqlConnectionInfo -> SqlConnectionInfo
public function SqlConnectionInfo(
conn : SqlConnectionInfo
)
參數
- conn
型別:Microsoft.SqlServer.Management.Common. . :: . .SqlConnectionInfo
A SqlConnectionInfo object value that specifies the object on which to base the new SqlConnectionInfo object.