Knight Data Access Layer
ExecuteScalarSproc(String) Method




KellermanSoftware.NetDataAccessLayer Namespace > BaseStoredProcedureProvider Class > ExecuteScalarSproc Method : ExecuteScalarSproc(String) Method
Name of the stored procedure
Execute the passed stored procedure and return the first column of the first row
Syntax
Public Overloads Function ExecuteScalarSproc( _
   ByVal storedProcedure As String _
) As Object
Dim instance As BaseStoredProcedureProvider
Dim storedProcedure As String
Dim value As Object
 
value = instance.ExecuteScalarSproc(storedProcedure)
public object ExecuteScalarSproc( 
   string storedProcedure
)
public: Object* ExecuteScalarSproc( 
   string* storedProcedure
) 
public:
Object^ ExecuteScalarSproc( 
   String^ storedProcedure
) 

Parameters

storedProcedure
Name of the stored procedure
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

BaseStoredProcedureProvider Class
BaseStoredProcedureProvider Members
Overload List