Share via


AdomdCommand.CommandType Property

Gets or sets the System.Data.CommandType used by the AdomdCommand.

Namespace: Microsoft.AnalysisServices.AdomdClient
Assembly: Microsoft.AnalysisServices.AdomdClient (in microsoft.analysisservices.adomdclient.dll)

Syntax

'Declaration
<BrowsableAttribute(False)> _
Public Property CommandType As CommandType
[BrowsableAttribute(false)] 
public CommandType CommandType { get; set; }
[BrowsableAttribute(false)] 
public:
virtual property CommandType CommandType {
    CommandType get () sealed;
    void set (CommandType value) sealed;
}
/** @property */
public final CommandType get_CommandType ()

/** @property */
public final void set_CommandType (CommandType value)
public final function get CommandType () : CommandType

public final function set CommandType (value : CommandType)

Property Value

The System.Data.CommandType used by the AdomdCommand.

Remarks

The only value supported by this property is System.Data.CommandType.Text.

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

See Also

Reference

AdomdCommand Class
AdomdCommand Members
Microsoft.AnalysisServices.AdomdClient Namespace