Metoda PerspectiveCollection.Add (String, String)
Tworzy i dodaje Perspective, z określonej nazwy i identyfikatora do końca kolekcja.
Przestrzeń nazw: Microsoft.AnalysisServices
Zestaw: Microsoft.AnalysisServices (w Microsoft.AnalysisServices.dll)
Składnia
'Deklaracja
Public Function Add ( _
name As String, _
id As String _
) As Perspective
'Użycie
Dim instance As PerspectiveCollection
Dim name As String
Dim id As String
Dim returnValue As Perspective
returnValue = instance.Add(name, id)
public Perspective Add(
string name,
string id
)
public:
Perspective^ Add(
String^ name,
String^ id
)
member Add :
name:string *
id:string -> Perspective
public function Add(
name : String,
id : String
) : Perspective
Parametry
- name
Typ: System.String
Nazwa Perspective do dodania.
- id
Typ: System.String
Identyfikator Perspective do dodania.
Wartość zwracana
Typ: Microsoft.AnalysisServices.Perspective
Indeks od zera, jaką Perspective została dodana.
Zobacz także