Freigeben über


TeamFoundationSqlResourceComponent.PrepareStoredProcedure-Methode (String, Boolean)

Installieren Sie, um eine gespeicherte SQL Server-Prozedur auszuführen. Diese Methode schließt alle vorhandenen Reader Befehl oder.

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

Syntax

'Declaration
Protected Function PrepareStoredProcedure ( _
    storedProcedure As String, _
    bindPartitionId As Boolean _
) As SqlCommand
protected SqlCommand PrepareStoredProcedure(
    string storedProcedure,
    bool bindPartitionId
)

Parameter

  • storedProcedure
    Typ: System.String
    Dies ist die gespeicherte Prozedur, die ausgeführt werden soll

Rückgabewert

Typ: System.Data.SqlClient.SqlCommand
Das SqlCommand-Objekt, das derzeit initialisiert wird

.NET Framework-Sicherheit

Siehe auch

Referenz

TeamFoundationSqlResourceComponent Klasse

PrepareStoredProcedure-Überladung

Microsoft.TeamFoundation.Framework.Server-Namespace