다음을 통해 공유


Item 속성 (String)

Gets the MdxScript, with the specified identifier, from the collection.

네임스페이스:  Microsoft.AnalysisServices
어셈블리:  Microsoft.AnalysisServices.dll의 Microsoft.AnalysisServices

구문

‘선언
Public ReadOnly Default Property Item ( _
    id As String _
) As MdxScript
    Get
‘사용 방법
Dim instance As MdxScriptCollection
Dim id As String
Dim value As MdxScript

value = instance(id)
public MdxScript this[
    string id
] { get; }
public:
property MdxScript^ default[String^ id] {
    MdxScript^ get (String^ id);
}
member Item : MdxScript
Jscript는 인덱싱된 속성의 사용을 지원하지만 새로운 인덱싱된 속성 선언은 지원하지 않습니다.

매개 변수

속성 값

형식: Microsoft.AnalysisServices. . :: . .MdxScript
The MdxScript specified by the identifier.

예외

예외 조건
ArgumentNullException

id is a null reference (Nothing in Visual Basic).

ItemNotFoundException

id does not exist in the collection.