Share via


DbUpdate.CommandText Property

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

The text of the SQL command used to execute the query.

Namespace:  System.Activities.Core
Assembly:  System.Activities.Core (in System.Activities.Core.dll)

Syntax

'Declaration
Public Property CommandText As String
    Get
    Set
'Usage
Dim instance As DbUpdate
Dim value As String

value = instance.CommandText

instance.CommandText = value
public string CommandText { get; set; }
public:
property String^ CommandText {
    String^ get ();
    void set (String^ value);
}
function get CommandText () : String
function set CommandText (value : String)
member CommandText : string with get, set

Property Value

Type: System.String
The text of the SQL command used to execute the query.

Platforms

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Version Information

.NET Framework

Supported in: 4

See Also

Reference

DbUpdate Class

DbUpdate Members

System.Activities.Core Namespace