Partager via


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

Return Value

Type: System.Object
Returns Object.

.NET Framework Security

See Also

Reference

SqlScriptResourceComponent Class

ExecuteStatementScalar Overload

Microsoft.TeamFoundation.Framework.Server Namespace