PerspectiveHierarchyCollection.Insert Yöntemi (Int32, String)
Oluşturur ve ekler bir PerspectiveHierarchy, belirtilen tanımlayıcısı ile 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, _
hierarchyId As String _
) As PerspectiveHierarchy
'Kullanım
Dim instance As PerspectiveHierarchyCollection
Dim index As Integer
Dim hierarchyId As String
Dim returnValue As PerspectiveHierarchy
returnValue = instance.Insert(index, hierarchyId)
public PerspectiveHierarchy Insert(
int index,
string hierarchyId
)
public:
PerspectiveHierarchy^ Insert(
int index,
String^ hierarchyId
)
member Insert :
index:int *
hierarchyId:string -> PerspectiveHierarchy
public function Insert(
index : int,
hierarchyId : String
) : PerspectiveHierarchy
Parametreler
- index
Tür: System.Int32
En yeni eklemek sıfır tabanlı dizini PerspectiveHierarchy.
- hierarchyId
Tür: System.String
Dönüş Değeri
Tür: Microsoft.AnalysisServices.PerspectiveHierarchy
Bir yeni, boş PerspectiveHierarchy.
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]. |