Aracılığıyla paylaş


DataSourceViewCollection.Insert Yöntemi (Int32)

Oluşturur ve ekler bir DataSourceView içine koleksiyon adresinde belirtilen dizini.

Ad Alanı:  Microsoft.AnalysisServices
Derleme:  Microsoft.AnalysisServices (Microsoft.AnalysisServices içinde.dll)

Sözdizimi

'Bildirim
Public Function Insert ( _
    index As Integer _
) As DataSourceView
'Kullanım
Dim instance As DataSourceViewCollection
Dim index As Integer
Dim returnValue As DataSourceView

returnValue = instance.Insert(index)
public DataSourceView Insert(
    int index
)
public:
DataSourceView^ Insert(
    int index
)
member Insert : 
        index:int -> DataSourceView 
public function Insert(
    index : int
) : DataSourceView

Parametreler

Dönüş Değeri

Tür: Microsoft.AnalysisServices.DataSourceView
Bir yeni, boş DataSourceView.

Kural dışı durumlar

Özel durum Koşul
ArgumentOutOfRangeException

indexsıfırdan küçük.

- veya -

index' e eşit veya daha büyük [H:Microsoft.AnalysisServices.ModelComponentCollection.Count].