TeamFoundationSqlResourceComponent.ExecuteScalar Method
Execute the current SQL command by using [ExecuteScalar()] and stores the result.
Namespace: Microsoft.TeamFoundation.Framework.Server
Assembly: Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'Declaration
Protected Function ExecuteScalar As Object
protected Object ExecuteScalar()
protected:
Object^ ExecuteScalar()
member ExecuteScalar : unit -> Object
protected function ExecuteScalar() : Object
Return Value
Type: System.Object
The scalar result.
.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.