次の方法で共有


AttributePermissionCollection.IndexOf Method (String)

指定した識別子の AttributePermission のインデックスを取得します。

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

構文

'宣言
Public Function IndexOf ( _
    attributeId As String _
) As Integer
public int IndexOf (
    string attributeId
)
public:
int IndexOf (
    String^ attributeId
)
public int IndexOf (
    String attributeId
)
public function IndexOf (
    attributeId : String
) : int

パラメータ

  • attributeId

戻り値

オブジェクトが見つかった場合は attributeID で指定した AttributePermission の 0 から始まるインデックス、見つからない場合は -1 です。

スレッド セーフ

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

プラットフォーム

開発プラットフォーム

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

対象プラットフォーム

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

参照

関連項目

AttributePermissionCollection Class
AttributePermissionCollection Members
Microsoft.AnalysisServices Namespace