다음을 통해 공유


LevelCollection.Find 메서드

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

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

구문

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

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

매개 변수

  • name
    유형: String
    찾을 Level의 이름입니다.

반환 값

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

주의

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

참고 항목

참조

LevelCollection 클래스

Microsoft.AnalysisServices.AdomdServer 네임스페이스