SqlScriptResourceComponent.ExecuteStatementScalar Method (String, array<SqlParameter )
Namespace: Microsoft.TeamFoundation.Framework.Server
Assembly: Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'Declaration
Public Function ExecuteStatementScalar ( _
sqlStatement As String, _
parameters As SqlParameter() _
) As Object
public Object ExecuteStatementScalar(
string sqlStatement,
SqlParameter[] parameters
)
public:
Object^ ExecuteStatementScalar(
String^ sqlStatement,
array<SqlParameter^>^ parameters
)
member ExecuteStatementScalar :
sqlStatement:string *
parameters:SqlParameter[] -> Object
public function ExecuteStatementScalar(
sqlStatement : String,
parameters : SqlParameter[]
) : Object
Parameters
- sqlStatement
Type: System.String
- parameters
Type: array<System.Data.SqlClient.SqlParameter[]
Return Value
Type: System.Object
Returns Object.
.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
SqlScriptResourceComponent Class