AdomdParameterCollection.IndexOf 方法 (AdomdParameter)
Returns the zero-based index of the first occurrence of a parameter in the AdomdParameterCollection collection.
命名空间: Microsoft.AnalysisServices.AdomdServer
程序集: msmgdsrv(在 msmgdsrv.dll 中)
语法
声明
Public Function IndexOf ( _
As AdomdParameter _
) As Integer
用法
Dim instance As AdomdParameterCollection
DimAs AdomdParameter
Dim returnValue As Integer
returnValue = instance.IndexOf()
public int IndexOf(
AdomdParameter
)
public:
virtual int IndexOf(
AdomdParameter^
) sealed
abstract IndexOf :
:AdomdParameter -> int
override IndexOf :
:AdomdParameter -> int
public final function IndexOf(
: AdomdParameter
) : int
参数
- __unnamed0
类型:Microsoft.AnalysisServices.AdomdServer.AdomdParameter
The AdomdParameter object to locate in the AdomdParameterCollection collection.
返回值
类型:System.Int32
The index of value if found in the list. Otherwise, it returns -1.