Compartir a través de


TeamFoundationSqlResourceComponent.PrepareStoredProcedure (Método) (String, Boolean)

Configurar para ejecutar un procedimiento almacenado de SQL Server. Este método se cerrará todo el comando o lector existente.

Espacio de nombres:  Microsoft.TeamFoundation.Framework.Server
Ensamblado:  Microsoft.TeamFoundation.Framework.Server (en Microsoft.TeamFoundation.Framework.Server.dll)

Sintaxis

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

Parámetros

  • storedProcedure
    Tipo: System.String
    Éste es el procedimiento almacenado para ejecutarse

Valor devuelto

Tipo: System.Data.SqlClient.SqlCommand
El objeto de SqlCommand inicializa que

Seguridad de .NET Framework

Vea también

Referencia

TeamFoundationSqlResourceComponent Clase

PrepareStoredProcedure (Sobrecarga)

Microsoft.TeamFoundation.Framework.Server (Espacio de nombres)