KpiCollection.FindByName Method (String)
Applies To: SQL Server 2016 Preview
Gets the Kpi, with the specified name, from the collection.
Namespace: Microsoft.AnalysisServices
Assembly: Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)
Syntax
public Kpi FindByName(
string name
)
public:
Kpi^ FindByName(
String^ name
)
member FindByName :
name:string -> Kpi
Public Function FindByName (
name As String
) As Kpi
Parameters
name
Type: System.StringThe name of the Kpi to be returned.
Return Value
Type: Microsoft.AnalysisServices.Kpi
The Kpi if contained in the collection; otherwise, a null reference (Nothing in Visual Basic).
See Also
KpiCollection Class
Microsoft.AnalysisServices Namespace
Return to top