Aracılığıyla paylaş


DataSourceViewCollection.Insert Yöntemi (Int32, String, String)

Oluşturur ve ekler bir DataSourceViewbelirtilen ad ve tanımlayıcı, koleksiyon belirtilen dizin.

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

Sözdizimi

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

returnValue = instance.Insert(index, name, _
    id)
public DataSourceView Insert(
    int index,
    string name,
    string id
)
public:
DataSourceView^ Insert(
    int index, 
    String^ name, 
    String^ id
)
member Insert : 
        index:int * 
        name:string * 
        id:string -> DataSourceView 
public function Insert(
    index : int, 
    name : String, 
    id : String
) : 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].