SqlConnectionInfo.CreateConnectionObject 方法
创建系统连接对象。
命名空间: Microsoft.SqlServer.Management.Common
程序集: Microsoft.SqlServer.ConnectionInfo(在 Microsoft.SqlServer.ConnectionInfo.dll 中)
语法
声明
Public Overrides Function CreateConnectionObject As IDbConnection
用法
Dim instance As SqlConnectionInfo
Dim returnValue As IDbConnection
returnValue = instance.CreateConnectionObject()
public override IDbConnection CreateConnectionObject()
public:
virtual IDbConnection^ CreateConnectionObject() override
abstract CreateConnectionObject : unit -> IDbConnection
override CreateConnectionObject : unit -> IDbConnection
public override function CreateConnectionObject() : IDbConnection
返回值
类型:IDbConnection
一个 IDbConnection 系统对象值,该值指定连接对象。