Visual Basic (Declaration) | |
---|---|
Public Overloads Function ExecuteScalar( _ ByVal commandType As CommandType, _ ByVal commandText As String, _ ByVal ParamArray parameters() As Object _ ) As Object |
Visual Basic (Usage) | ![]() |
---|---|
Dim instance As Dac Dim commandType As CommandType Dim commandText As String Dim parameters() As Object Dim value As Object value = instance.ExecuteScalar(commandType, commandText, parameters) |
C# | |
---|---|
public object ExecuteScalar( CommandType commandType, string commandText, params object[] parameters ) |
C++/CLI | |
---|---|
public: Object^ ExecuteScalar( CommandType commandType, String^ commandText, ... array<Object^>^ parameters ) |
Parameters
- commandType
- commandText
- parameters
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