TeamFoundationSqlResourceComponent.PrepareStoredProcedure Method (String, Int32)
Namespace: Microsoft.TeamFoundation.Framework.Server
Assembly: Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'Declaration
Protected Function PrepareStoredProcedure ( _
storedProcedure As String, _
commandTimeout As Integer _
) As SqlCommand
protected SqlCommand PrepareStoredProcedure(
string storedProcedure,
int commandTimeout
)
protected:
SqlCommand^ PrepareStoredProcedure(
String^ storedProcedure,
int commandTimeout
)
member PrepareStoredProcedure :
storedProcedure:string *
commandTimeout:int -> SqlCommand
protected function PrepareStoredProcedure(
storedProcedure : String,
commandTimeout : int
) : SqlCommand
Parameters
- storedProcedure
Type: System.String
- commandTimeout
Type: System.Int32
Return Value
Type: System.Data.SqlClient.SqlCommand
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
TeamFoundationSqlResourceComponent Class