ServerPropertyCollection.Insert Method (Int32, ServerProperty)

 

Applies To: SQL Server (starting with 2016)

Inserts a ServerProperty into the collection at the specified index.

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

Syntax

public void Insert(
    int index,
    ServerProperty item
)
public:
void Insert(
    int index,
    ServerProperty^ item
)
member Insert : 
        index:int *
        item:ServerProperty -> unit
Public Sub Insert (
    index As Integer,
    item As ServerProperty
)

Parameters

Exceptions

Exception Condition
ArgumentOutOfRangeException

index is less than zero.-or-index is equal to or greater than Count.

See Also

Insert Overload
ServerPropertyCollection Class
Microsoft.AnalysisServices Namespace

Return to top