WarehouseDataAccessComponent.ExecuteScalar Method
Namespace: Microsoft.TeamFoundation.Warehouse
Assembly: Microsoft.TeamFoundation.Warehouse (in Microsoft.TeamFoundation.Warehouse.dll)
Syntax
'宣言
Public Function ExecuteScalar ( _
commandType As CommandType, _
sqlStatement As String, _
parameters As IEnumerable(Of SqlParameter) _
) As Object
public Object ExecuteScalar(
CommandType commandType,
string sqlStatement,
IEnumerable<SqlParameter> parameters
)
public:
Object^ ExecuteScalar(
CommandType commandType,
String^ sqlStatement,
IEnumerable<SqlParameter^>^ parameters
)
member ExecuteScalar :
commandType:CommandType *
sqlStatement:string *
parameters:IEnumerable<SqlParameter> -> Object
public function ExecuteScalar(
commandType : CommandType,
sqlStatement : String,
parameters : IEnumerable<SqlParameter>
) : Object
Parameters
- commandType
Type: System.Data.CommandType
- sqlStatement
Type: System.String
- parameters
Type: System.Collections.Generic.IEnumerable<SqlParameter>
Return Value
Type: System.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.