Udostępnij za pośrednictwem


AdomdPropertyCollection.IndexOf Method

Returns the zero-based index of the first occurrence of a property in the AdomdPropertyCollection.

Namespace: Microsoft.AnalysisServices.AdomdClient
Assembly: Microsoft.AnalysisServices.AdomdClient (in microsoft.analysisservices.adomdclient.dll)

Syntax

'Declaration
Public Function IndexOf ( _
    value As AdomdProperty _
) As Integer
public int IndexOf (
    AdomdProperty value
)
public:
int IndexOf (
    AdomdProperty^ value
)
public int IndexOf (
    AdomdProperty value
)
public function IndexOf (
    value : AdomdProperty
) : int

Parameters

Return Value

The index of value if found in the list; -1 otherwise.

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

See Also

Reference

AdomdPropertyCollection Class
AdomdPropertyCollection Members
Microsoft.AnalysisServices.AdomdClient Namespace