次の方法で共有


ReportParameterCollection.Insert Method (Int32, String, String)

指定した名前および値の ReportParameter を作成し、コレクション内の指定したインデックスに挿入します。

名前空間: Microsoft.AnalysisServices
アセンブリ: Microsoft.AnalysisServices (microsoft.analysisservices.dll 内)

構文

'宣言
Public Function Insert ( _
    index As Integer, _
    name As String, _
    value As String _
) As ReportParameter
public ReportParameter Insert (
    int index,
    string name,
    string value
)
public:
ReportParameter^ Insert (
    int index, 
    String^ name, 
    String^ value
)
public ReportParameter Insert (
    int index, 
    String name, 
    String value
)
public function Insert (
    index : int, 
    name : String, 
    value : String
) : ReportParameter

パラメータ

  • index
    新しい ReportParameter を挿入する位置を示す 0 から始まるインデックスです。
  • name
    挿入する ReportParameter の名前です。
  • value
    挿入する ReportParameter の値です。

戻り値

コレクションに挿入した ReportParameter です。

例外

例外の種類 条件
ArgumentOutOfRangeException

index に 0 より小さい値が指定されています。

-または-

index に H:Microsoft.AnalysisServices.ModelComponentCollection.Count 以上の値が指定されています。

スレッド セーフ

この型の public static (Microsoft Visual Basic では共有 ) メンバは、スレッド セーフです。インスタンス メンバの場合は、スレッド セーフであるとは限りません。

プラットフォーム

開発プラットフォーム

サポートされているプラットフォームの一覧については、「SQL Server 2005 のインストールに必要なハードウェアおよびソフトウェア」を参照してください。

対象プラットフォーム

サポートされているプラットフォームの一覧については、「SQL Server 2005 のインストールに必要なハードウェアおよびソフトウェア」を参照してください。

参照

関連項目

ReportParameterCollection Class
ReportParameterCollection Members
Microsoft.AnalysisServices Namespace