TeamFoundationSqlResourceComponent.PrepareSqlBatch, méthode (Int32)

Installez pour exécuter une série d'instructions SQL. Cette méthode ferme tous les commandes ou lecteurs existants.

Espace de noms :  Microsoft.TeamFoundation.Framework.Server
Assembly :  Microsoft.TeamFoundation.Framework.Server (dans Microsoft.TeamFoundation.Framework.Server.dll)

Syntaxe

'Déclaration
Protected Overridable Function PrepareSqlBatch ( _
    lengthEstimate As Integer _
) As SqlCommand
protected virtual SqlCommand PrepareSqlBatch(
    int lengthEstimate
)

Paramètres

  • lengthEstimate
    Type : System.Int32
    La meilleure idée du nombre de caractères des instructions SQL à exécuter.Ne doit pas être exact.

Valeur de retour

Type : System.Data.SqlClient.SqlCommand
L'objet SqlCommand qui est initialisé.

Sécurité .NET Framework

Voir aussi

Référence

TeamFoundationSqlResourceComponent Classe

PrepareSqlBatch, surcharge

Microsoft.TeamFoundation.Framework.Server, espace de noms