Creates a new instance of the
SqlQuery Class.
Syntax
| Visual Basic (Declaration) | |
|---|
Public Function New( _
ByVal command As String _
) |
| Visual Basic (Usage) | Copy Code |
|---|
Dim command As String
Dim instance As SqlQuery(command)
|
| C# | |
|---|
public SqlQuery(
string command
) |
| Managed Extensions for C++ | |
|---|
public: SqlQuery(
string* command
) |
| C++/CLI | |
|---|
public:
SqlQuery(
String^ command
) |
Parameters
- command
- Command that is executed on the storage.
Exceptions
| Exception | Description |
| ArgumentNullException | Command is null. |
Requirements
Platforms: Windows 2000, Windows XP family, Windows Server 2003 family, Windows Vista family
See Also