다음을 통해 공유


IDbCommand.CommandType 속성

Indicates or specifies how the CommandText property is interpreted (as text, a stored procedure, etc.).

네임스페이스:  Microsoft.ReportingServices.DataProcessing
어셈블리:   Microsoft.ReportingServices.Interfaces(Microsoft.ReportingServices.Interfaces.dll)
  Microsoft.ReportingServices.SharePoint.UI.WebParts(Microsoft.ReportingServices.SharePoint.UI.WebParts.dll)

구문

‘선언
Property CommandType As CommandType 
    Get 
    Set
‘사용 방법
Dim instance As IDbCommand 
Dim value As CommandType 

value = instance.CommandType

instance.CommandType = value
CommandType CommandType { get; set; }
property CommandType CommandType {
    CommandType get ();
    void set (CommandType value);
}
abstract CommandType : CommandType with get, set
function get CommandType () : CommandType 
function set CommandType (value : CommandType)

속성 값

유형: Microsoft.ReportingServices.DataProcessing.CommandType
One of the CommandType values. The default is Text.

주의

When the CommandType property is set to StoredProcedure, set the CommandText property to the name of the stored procedure. The user may be required to use escape character syntax if the stored procedure name contains any special characters. The command will call this stored procedure when you call one of the Execute methods.

참고 항목

참조

IDbCommand 인터페이스

Microsoft.ReportingServices.DataProcessing 네임스페이스