Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets the ServerProperty that has the specified name from the collection.
Namespace: Microsoft.AnalysisServices
Assembly: Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)
Syntax
'Declaration
Public ReadOnly Default Property Item ( _
name As String _
) As ServerProperty
Get
'Usage
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 supports the use of indexed properties, but not the declaration of new ones.
Parameters
- name
Type: System.String
The name of the ServerProperty to return.
Property Value
Type: Microsoft.AnalysisServices.ServerProperty
The ServerProperty specified by name.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | name is a null reference (Nothing in Visual Basic). |
ItemNotFoundException | name does not exist in the collection. |