Share via


ServerPropertyCollection.Item Property (String)

 

Applies To: SQL Server (starting with 2016)

Gets the ServerProperty that has the specified name from the collection.

Namespace:   Microsoft.AnalysisServices
Assembly:  Microsoft.AnalysisServices.Core (in Microsoft.AnalysisServices.Core.dll)

Syntax

public ServerProperty this[
    string name
] { get; }
public:
property ServerProperty^ default[
    String^ name
] {
    ServerProperty^ get(String^ name);
}
member Item : 
        name:string -> ServerProperty with get
Public ReadOnly Property Item (
    name As String
) As ServerProperty

Parameters

Property Value

Type: Microsoft.AnalysisServices.ServerProperty

The ServerProperty specified by name.

Exceptions

Exception Condition
ArgumentNullException

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

Exception

name does not exist in the collection.

See Also

Item Overload
ServerPropertyCollection Class
Microsoft.AnalysisServices Namespace

Return to top