共用方式為


TeamFoundationSqlResourceComponent Class

Inheritance Hierarchy

System.Object
  Microsoft.TeamFoundation.Framework.Server.TeamFoundationSqlResourceComponent
    Microsoft.TeamFoundation.Framework.Server.ExtendedAttributeComponent

Namespace:  Microsoft.TeamFoundation.Framework.Server
Assembly:  Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)

Syntax

'宣告
Public MustInherit Class TeamFoundationSqlResourceComponent _
    Implements IDisposable, ICancelable
public abstract class TeamFoundationSqlResourceComponent : IDisposable, 
    ICancelable
public ref class TeamFoundationSqlResourceComponent abstract : IDisposable, 
    ICancelable
[<AbstractClass>]
type TeamFoundationSqlResourceComponent =  
    class
        interface IDisposable
        interface ICancelable
    end
public abstract class TeamFoundationSqlResourceComponent implements IDisposable, ICancelable

The TeamFoundationSqlResourceComponent type exposes the following members.

Constructors

  Name Description
Protected method TeamFoundationSqlResourceComponent

Top

Properties

  Name Description
Protected property Author
Protected property BoundParameters
Protected property Command
Protected property CommandTimeout
Protected property Connection
Protected property ContainerErrorCode
Public property DatabaseCategory
Protected property DataReader
Protected property DataSet
Public property DataSource
Protected property DeadlockPause
Public property InitialCatalog
Protected property MaxDeadlockRetries
Protected property ProcedureName
Protected property RequestContext
Protected property StatementIndex
Protected property TranslatedExceptions

Top

Methods

  Name Description
Protected method AddStatement(String)
Protected method AddStatement(String, Int32)
Protected method AddStatement(String, Int32, Boolean)
Protected method AddStatement(String, Int32, Boolean, Boolean)
Protected method BeginTransaction
Protected method BindBinary(String, array<Byte[], SqlDbType)
Protected method BindBinary(String, array<Byte[], Int32, SqlDbType)
Protected method BindBoolean
Protected method BindByte(String, Byte)
Protected method BindByte(String, Byte, Byte)
Protected method BindDateTime
Protected method BindDefault
Protected method BindGuid
Protected method BindInt
Protected method BindLong
Protected method BindNullableByte
Protected method BindNullableGuid
Protected method BindNullableInt
Protected method BindNullValue
Protected method BindString(String, String, Int32, TeamFoundationSqlResourceComponent.BindStringBehavior, SqlDbType)
Protected method BindString(String, String, Int32, Boolean, SqlDbType)
Protected method BindSysname
Protected method BindXml(String, TeamFoundationDatabaseXmlWriter)
Protected method BindXml(String, String)
Public method Cancel
Protected method CanRetryOnException
Protected method CommitTransaction
Public method Dispose
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Execute
Protected method ExecuteAdapter
Protected method ExecuteNonQuery()
Protected method ExecuteNonQuery(Boolean)
Protected method ExecuteReader()
Protected method ExecuteReader(CommandBehavior)
Protected method ExecuteScalar
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Protected method FlushBatch
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Protected method GetParameterName
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method HandleException
Protected method MapException(SqlException)
Protected method MapException(SqlException, QueryExecutionState)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Protected method PrepareSqlBatch
Protected method PrepareStoredProcedure(String)
Protected method PrepareStoredProcedure(String, Int32)
Protected method RollbackTransaction
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Protected method TranslateException(SqlException)
Protected method TranslateException(SqlTypeException)
Public methodStatic member TranslateSqlException

Top

Events

  Name Description
Public event InfoMessage

Top

Fields

  Name Description
Public fieldStatic member DatabaseTypeCollection
Public fieldStatic member DatabaseTypeConfiguration
Public fieldStatic member DatabaseTypeWarehouse
Public fieldStatic member ExtendedPropertyCategories
Public fieldStatic member ExtendedPropertyConfigurationInProgressStamp
Public fieldStatic member ExtendedPropertyDatabaseType
Public fieldStatic member ExtendedPropertyInstanceStamp
Public fieldStatic member ExtendedPropertyProductVersionStamp
Public fieldStatic member ExtendedPropertyRemoveStepsSucceededStamp
Public fieldStatic member ExtendedPropertySchemaVersion
Public fieldStatic member ExtendedPropertyServiceLevelStamp
Public fieldStatic member ExtendedPropertyServiceLevelToStamp
Public fieldStatic member MaxStatementLengthEstimate
Public fieldStatic member SchemaVersion
Public fieldStatic member SqlMaxBatchParameters

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.TeamFoundation.Framework.Server Namespace