다음을 통해 공유


CommandType Enumeration

Specifies how a command string is interpreted.

네임스페이스: Microsoft.ReportingServices.DataProcessing
어셈블리: Microsoft.ReportingServices.Interfaces (in microsoft.reportingservices.interfaces.dll)

구문

‘선언
Public Enumeration CommandType
public enum CommandType
public enum class CommandType
public enum CommandType
public enum CommandType

Members

Member name Description
StoredProcedure The name of a stored procedure.
TableDirect When the CommandType property is set to TableDirect, the CommandText property should be set to the name of the table or tables to be accessed. The user may be required to use escape character syntax or include qualifying characters if any of the tables named contain any special characters. All rows and columns of the named table or tables will be returned when you call one of the Execute methods. In order to access multiple tables, use a comma-delimited list, without spaces or padding, containing the names of the tables to access. When the CommandText property names multiple tables, a join of the specified tables is returned.
Text A text command.

주의

When the CommandType property is set to StoredProcedure, set the CommandText property to the name of the stored procedure. The command executes this stored procedure when you call ExecuteReader.

플랫폼

개발 플랫폼

지원되는 플랫폼 목록은 SQL Server 2005 설치를 위한 하드웨어 및 소프트웨어 요구 사항을 참조하십시오.

대상 플랫폼

지원되는 플랫폼 목록은 SQL Server 2005 설치를 위한 하드웨어 및 소프트웨어 요구 사항을 참조하십시오.

참고 항목

참조

Microsoft.ReportingServices.DataProcessing Namespace