ServerPropertyCollection.Item 속성 (String)
Gets the ServerProperty that has the specified name from the collection.
네임스페이스: Microsoft.AnalysisServices
어셈블리: Microsoft.AnalysisServices(Microsoft.AnalysisServices.dll)
구문
‘선언
Public ReadOnly Default Property Item ( _
name As String _
) As ServerProperty
Get
‘사용 방법
Dim instance As ServerPropertyCollection
Dim name As String
Dim value As ServerProperty
value = instance(name)
public ServerProperty this[
string name
] { get; }
public:
property ServerProperty^ default[String^ name] {
ServerProperty^ get (String^ name);
}
member Item : ServerProperty
Jscript는 인덱싱된 속성의 사용을 지원하지만 새로운 인덱싱된 속성 선언은 지원하지 않습니다.
매개 변수
- name
유형: System.String
The name of the ServerProperty to return.
속성 값
유형: Microsoft.AnalysisServices.ServerProperty
The ServerProperty specified by name.
예외
예외 | 조건 |
---|---|
ArgumentNullException | name is a null reference (Nothing in Visual Basic). |
ItemNotFoundException | name does not exist in the collection. |