Delen via


TeamFoundationSqlResourceComponent.AddStatement Method (String)

Add a statement to the current SQL batch. You must call PrepareSqlBatch before you call AddStatement.

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

Syntax

'Declaration
Protected Overridable Sub AddStatement ( _
    sqlStatement As String _
)
protected virtual void AddStatement(
    string sqlStatement
)
protected:
virtual void AddStatement(
    String^ sqlStatement
)
abstract AddStatement : 
        sqlStatement:string -> unit  
override AddStatement : 
        sqlStatement:string -> unit
protected function AddStatement(
    sqlStatement : String
)

Parameters

  • sqlStatement
    Type: System.String

    SQL statement to add to the batch.

.NET Framework Security

See Also

Reference

TeamFoundationSqlResourceComponent Class

AddStatement Overload

Microsoft.TeamFoundation.Framework.Server Namespace