다음을 통해 공유


IDataParameterCollection 인터페이스

Represents a collection of all parameters relevant to a Command object.

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

구문

‘선언
Public Interface IDataParameterCollection _
    Inherits IEnumerable
‘사용 방법
Dim instance As IDataParameterCollection
public interface IDataParameterCollection : IEnumerable
public interface class IDataParameterCollection : IEnumerable
type IDataParameterCollection =  
    interface 
        interface IEnumerable 
    end
public interface IDataParameterCollection extends IEnumerable

IDataParameterCollection 유형에서 다음 멤버를 표시합니다.

메서드

  이름 설명
공용 메서드 Add Adds an object to the end of the parameter collection.
공용 메서드 GetEnumerator (IEnumerable에서 상속됨)

맨 위로 이동

주의

The IDataParameterCollection interface enables you to implement a parameter collection.

An application does not create an instance of the IDataParameterCollection interface directly, but creates an instance of a class that implements IDataParameterCollection.

Classes that implement IDataParameterCollection must implement the required members, and typically define additional members to add provider-specific functionality.

The SQL Server Reporting Services IDataParameterCollection interface inherits from IEnumerable and requires that you implement an Add method. IEnumerable also requires that you implement a GetEnumerator method. Because IDataParameterCollection is a type of IList, you can use an existing class for most of the implementation. For example, if your DataParameter class inherits ArrayList, you can use the default implementation of the ArrayList.GetEnumerator method.

Note to Implementers: When you implement the IDataParameterCollection interface, you should implement the following constructor:

Class

Description

PrvParameterCollection()

Initializes a new instance of the PrvDataParameterCollection class.

참고 항목

참조

Microsoft.ReportingServices.DataProcessing 네임스페이스