NamedComponentCollection.IndexOf Method (String)
Applies To: SQL Server (starting with 2016)
Reports the index of the first occurrence of the component.
Namespace: Microsoft.AnalysisServices
Assembly: Microsoft.AnalysisServices.Core (in Microsoft.AnalysisServices.Core.dll)
Syntax
public int IndexOf(
string id
)
public:
int IndexOf(
String^ id
)
member IndexOf :
id:string -> int
Public Function IndexOf (
id As String
) As Integer
Parameters
id
Type: System.StringThe identifier.
Return Value
Type: System.Int32
The index of the first occurrence of the component.
See Also
IndexOf Overload
NamedComponentCollection Class
Microsoft.AnalysisServices Namespace
Return to top