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 Sub AddStatement ( _
    sqlStatement As String _
)
protected void AddStatement(
    string sqlStatement
)
protected:
void AddStatement(
    String^ sqlStatement
)
member 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