다음을 통해 공유


CreateConnectionObject 메서드

코드에서 직접 이 멤버를 참조하면 안 됩니다. 이 방법은 SQL Server 인프라를 지원합니다. Creates an IDbConnection object for a connection to an instance of the SQL Server 데이터베이스 엔진.

네임스페이스:  Microsoft.SqlServer.Management.Common
어셈블리:  Microsoft.SqlServer.ConnectionInfo(Microsoft.SqlServer.ConnectionInfo.dll)

구문

‘선언
Public Overrides Function CreateConnectionObject As IDbConnection
‘사용 방법
Dim instance As OlapConnectionInfo
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

반환 값

유형: System.Data. . :: . .IDbConnection
An IDbConnection object for a connection to an instance of the SQL Server 데이터베이스 엔진.