PartitionCollection.Insert Yöntemi (Int32)
Oluşturur ve ekler bir Partition 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 Partition
'Kullanım
Dim instance As PartitionCollection
Dim index As Integer
Dim returnValue As Partition
returnValue = instance.Insert(index)
public Partition Insert(
int index
)
public:
Partition^ Insert(
int index
)
member Insert :
index:int -> Partition
public function Insert(
index : int
) : Partition
Parametreler
- index
Tür: System.Int32
Hangi sıfır tabanlı dizin yeni Partition eklenecektir.
Dönüş Değeri
Tür: Microsoft.AnalysisServices.Partition
Bir yeni, boş Partition.
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]. |
Ayrıca bkz.