Metoda DataSourceViewCollection.Add (String, String)
Tworzy i dodaje DataSourceView, 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 DataSourceView
'Użycie
Dim instance As DataSourceViewCollection
Dim name As String
Dim id As String
Dim returnValue As DataSourceView
returnValue = instance.Add(name, id)
public DataSourceView Add(
string name,
string id
)
public:
DataSourceView^ Add(
String^ name,
String^ id
)
member Add :
name:string *
id:string -> DataSourceView
public function Add(
name : String,
id : String
) : DataSourceView
Parametry
- name
Typ: System.String
Nazwa DataSourceView do dodania.
- id
Typ: System.String
Identyfikator DataSourceView do dodania.
Wartość zwracana
Typ: Microsoft.AnalysisServices.DataSourceView
Indeks od zera, jaką DataSourceView została dodana.
Zobacz także