Find 方法
Gets the Kpi, with the specified identifier, from the collection.
命名空間: Microsoft.AnalysisServices
組件: Microsoft.AnalysisServices (在 Microsoft.AnalysisServices.dll 中)
語法
'宣告
Public Function Find ( _
id As String _
) As Kpi
'用途
Dim instance As KpiCollection
Dim id As String
Dim returnValue As Kpi
returnValue = instance.Find(id)
public Kpi Find(
string id
)
public:
Kpi^ Find(
String^ id
)
member Find :
id:string -> Kpi
public function Find(
id : String
) : Kpi
參數
- id
型別:System. . :: . .String
The identifier of the Kpi to be returned.
傳回值
型別:Microsoft.AnalysisServices. . :: . .Kpi
The Kpi if contained in the collection; otherwise, a null reference (Nothing in Visual Basic).