Share via


ConnectionManaged Class

Definition

public ref class ConnectionManaged abstract : Microsoft::SqlServer::Dts::Tasks::ExecuteSQLTask::Connections::IDTSSQLTaskConnection, Microsoft::SqlServer::Dts::Tasks::ExecuteSQLTask::Connections::IDTSSQLTaskConnectionParameterSize
public abstract class ConnectionManaged : Microsoft.SqlServer.Dts.Tasks.ExecuteSQLTask.Connections.IDTSSQLTaskConnection, Microsoft.SqlServer.Dts.Tasks.ExecuteSQLTask.Connections.IDTSSQLTaskConnectionParameterSize
type ConnectionManaged = class
    interface IDTSSQLTaskConnection
    interface IDTSSQLTaskConnectionParameterSize
Public MustInherit Class ConnectionManaged
Implements IDTSSQLTaskConnection, IDTSSQLTaskConnectionParameterSize
Inheritance
ConnectionManaged
Derived
Implements
Microsoft.SqlServer.Dts.Tasks.ExecuteSQLTask.Connections.IDTSSQLTaskConnection Microsoft.SqlServer.Dts.Tasks.ExecuteSQLTask.Connections.IDTSSQLTaskConnectionParameterSize

Constructors

ConnectionManaged()

Fields

m_CodePage
m_command
m_connMgr
m_dataSet
m_ExecutionValue
m_ParameterSize
m_rawConnection
m_reader

Properties

CodePage
DataSet
Events
ExecutionValue
IsXMLSupported

Managed specific abstract members

Log
XmlResult

Methods

BindParameter(Object, Int32, Int32, Object)
ClearStructures()
Close()
ConvertParameterDirection(ParameterDirections)
CreateDataAdapter(IDbCommand)
CreateDataParameter()

use the DbParameter to be able to set the size this member was IDataParameter, and that did not have access to all members of the parameter object the different connections create.

ExecuteBatch(String, Int32, Boolean, UInt32, Boolean)
ExecuteStatement(Int32, Boolean, UInt32)
ExecuteXML()
GetColumn(Object)
GetOutParamValue(Object)
IsDynamicLength(DbType)

Helper function to determine whether the parameter type has as variable length (strings and binary)

PostDiagnosticMessage(String)
PrepareSQLStatement(String, Boolean)
SetDBConnection(Object)
SetParameterSize(Int32)
UseParameterSize()

Allows different managed providers to handle the default parameter size (-1)

Applies to