Partager via


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

See Also

Reference

TeamFoundationSqlResourceComponent Class

Microsoft.TeamFoundation.Framework.Server Namespace