RestoreLocationCollection.Insert Method (Int32, RestoreLocation)

 

Applies To: SQL Server (starting with 2016)

Inserts a RestoreLocation into the collection at the specified index.

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

public void Insert(
	int index,
	RestoreLocation item
)

Parameters

index
Type: System.Int32

The zero-based index at which to insert the new RestoreLocation.

item
Type: Microsoft.AnalysisServices.RestoreLocation

The RestoreLocation to insert.

Exception Condition
ArgumentOutOfRangeException

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

Return to top
Show: