ServerPropertyCollection.IndexOf Method (ServerProperty)

 

Applies To: SQL Server (starting with 2016)

Gets the index of a specified ServerProperty.

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

Syntax

public int IndexOf(
    ServerProperty item
)
public:
int IndexOf(
    ServerProperty^ item
)
member IndexOf : 
        item:ServerProperty -> int
Public Function IndexOf (
    item As ServerProperty
) As Integer

Parameters

Return Value

Type: System.Int32

The zero-based index of the ServerProperty if the object is found; otherwise, -1.

See Also

IndexOf Overload
ServerPropertyCollection Class
Microsoft.AnalysisServices Namespace

Return to top