LevelPropertyCollection.Find 메서드

이름을 사용하여 컬렉션에서 지정한 LevelProperty를 가져옵니다.

네임스페이스:  Microsoft.AnalysisServices.AdomdServer
어셈블리:  msmgdsrv(msmgdsrv.dll)

구문

‘선언
Public Function Find ( _
    name As String _
) As LevelProperty
‘사용 방법
Dim instance As LevelPropertyCollection 
Dim name As String 
Dim returnValue As LevelProperty 

returnValue = instance.Find(name)
public LevelProperty Find(
    string name
)
public:
LevelProperty^ Find(
    String^ name
)
member Find : 
        name:string -> LevelProperty
public function Find(
    name : String
) : LevelProperty

매개 변수

반환 값

유형: Microsoft.AnalysisServices.AdomdServer.LevelProperty
지정한 이름을 가진 LevelProperty가 있으면 해당 클래스이고, 그렇지 않으면 nullnull 참조(Visual Basic에서는 Nothing)입니다.

주의

개체가 없으면 Find 메서드는 nullnull 참조(Visual Basic에서는 Nothing)을 반환하는 반면 Item 속성은 예외를 발생시킵니다.

참고 항목

참조

LevelPropertyCollection 클래스

Microsoft.AnalysisServices.AdomdServer 네임스페이스