DataSourceViewCollection.AddNew Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
AddNew(String) |
Creates and adds a DataSourceView, with the specified key, to the end of the collection. |
AddNew(String, String) |
Creates and adds a DataSourceView, with the specified name and key, to the end of the collection. |
AddNew(String)
Creates and adds a DataSourceView, with the specified key, to the end of the collection.
public Microsoft.AnalysisServices.DataSourceView AddNew (string key);
override this.AddNew : string -> Microsoft.AnalysisServices.DataSourceView
Public Function AddNew (key As String) As DataSourceView
Parameters
- key
- String
The key of the DataSourceView to be added.
Returns
The newly created DataSourceView object.
Applies to
AddNew(String, String)
Creates and adds a DataSourceView, with the specified name and key, to the end of the collection.
public Microsoft.AnalysisServices.DataSourceView AddNew (string name, string key);
override this.AddNew : string * string -> Microsoft.AnalysisServices.DataSourceView
Public Function AddNew (name As String, key As String) As DataSourceView
Parameters
- name
- String
The name of the DataSourceView to be added.
- key
- String
The key of the DataSourceView to be added.
Returns
The newly created DataSourceView object.