Metoda PropertyCollection.Find
Pobiera określony Property z PropertyCollection kolekcja według jego nazwy.
Przestrzeń nazw: Microsoft.AnalysisServices.AdomdServer
Zestaw: msmgdsrv (w msmgdsrv.dll)
Składnia
'Deklaracja
Public Function Find ( _
name As String _
) As Property
'Użycie
Dim instance As PropertyCollection
Dim name As String
Dim returnValue As [Property]
returnValue = instance.Find(name)
public Property Find(
string name
)
public:
Property^ Find(
String^ name
)
member Find :
name:string -> Property
public function Find(
name : String
) : Property
Parametry
- name
Typ: System.String
Nazwa Property do znajdowania.
Wartość zwracana
Typ: Microsoft.AnalysisServices.AdomdServer.Property
Property z name nazwy.
Uwagi
Jeśli obiekt nie zostanie znaleziony, Find Metoda zwraca wartość null, należy Item Właściwość zgłasza wyjątek.
Zobacz także