Version

DataSourceObjectView Constructor(DataSourceObject,String,String,Boolean,Boolean,Boolean,Boolean,Hashtable,DataFieldCollection,Boolean)

Constructs the view. Accepts an owner object, name of the view, and the adapter of an original data source.
Syntax
'Declaration
 
Public Function New( _
   ByVal owner As DataSourceObject, _
   ByVal viewName As String, _
   ByVal dataKeyFields As String, _
   ByVal analyze As Boolean, _
   ByVal trackViewState As Boolean, _
   ByVal enableDataSum As Boolean, _
   ByVal requireSortableCollection As Boolean, _
   ByVal UnboundValues As Hashtable, _
   ByVal UnboundFields As DataFieldCollection, _
   ByVal RequireFilterableCollection As Boolean _
)

Parameters

owner
The DataSourceObject object that owns the view.
viewName
Name of the view.
dataKeyFields
Data key fields. Should be separated by a comma in case of a compound data key.
analyze
Indicator if the data source should be analyzed and adaptor assigned.
trackViewState
Indicator if the view state should be tracked.
enableDataSum
Specifies whether data summarization analysis needs to be turned on.
requireSortableCollection
UnboundValues
UnboundFields
RequireFilterableCollection
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also