C# 클래스 MongoDataSource.MongoConnectionManager

상속: ConnectionManagerBase
파일 보기 프로젝트 열기: simplybusiness/mongosis 1 사용 예제들

공개 메소드들

메소드 설명
AcquireConnection ( object txn ) : object

Creates an instance of the connection type.

CanUpdate ( string CreationName ) : bool

Gets or sets a Boolean that determines whether a connection manager supports upgrading the connection XML to a newer version.

ReleaseConnection ( object connection ) : void

Frees the connection established during Microsoft.SqlServer.Dts.Runtime.ConnectionManagerBase.AcquireConnection(System.Object). Called at design time and run time.

Update ( string &ObjectXml ) : void

Updates the XML persisted by a previous version of the connection manager.

Validate ( Microsoft infoEvents ) : Microsoft.SqlServer.Dts.Runtime.DTSExecResult

Validates the connection and returns an enumeration that indicates success or failure.

비공개 메소드들

메소드 설명
HandleValidationError ( Microsoft infoEvents, string message ) : Microsoft.SqlServer.Dts.Runtime.DTSExecResult
UpdateConnectionString ( ) : void

메소드 상세

AcquireConnection() 공개 메소드

Creates an instance of the connection type.
public AcquireConnection ( object txn ) : object
txn object The handle to a transaction object. (optional)
리턴 object

CanUpdate() 공개 메소드

Gets or sets a Boolean that determines whether a connection manager supports upgrading the connection XML to a newer version.
public CanUpdate ( string CreationName ) : bool
CreationName string The name of the connection to upgrade.
리턴 bool

ReleaseConnection() 공개 메소드

Frees the connection established during Microsoft.SqlServer.Dts.Runtime.ConnectionManagerBase.AcquireConnection(System.Object). Called at design time and run time.
public ReleaseConnection ( object connection ) : void
connection object The connection to release.
리턴 void

Update() 공개 메소드

Updates the XML persisted by a previous version of the connection manager.
public Update ( string &ObjectXml ) : void
ObjectXml string The XML used to update the connection manager XML.
리턴 void

Validate() 공개 메소드

Validates the connection and returns an enumeration that indicates success or failure.
public Validate ( Microsoft infoEvents ) : Microsoft.SqlServer.Dts.Runtime.DTSExecResult
infoEvents Microsoft An object that implements the Microsoft.SqlServer.Dts.Runtime.IDTSInfoEvents events interface to raise errors, warning, or informational events.
리턴 Microsoft.SqlServer.Dts.Runtime.DTSExecResult