Share via


VariationDataSource.GetViewNames Method

Gets a collection of names that represent the list of DataSourceView objects associated with the DataSourceControl.

Namespace:  Microsoft.SharePoint.Publishing.WebControls
Assembly:  Microsoft.SharePoint.Publishing (in Microsoft.SharePoint.Publishing.dll)

Syntax

'Declaration
<SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel := True)> _
Public Function GetViewNames As ICollection
'Usage
Dim instance As VariationDataSource
Dim returnValue As ICollection

returnValue = instance.GetViewNames()
[SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel = true)]
public ICollection GetViewNames()

Return Value

Type: System.Collections.ICollection
An ICollection that contains the names of the DataSourceViews associated with this DataSourceControl.

Implements

IDataSource.GetViewNames()

See Also

Reference

VariationDataSource Class

VariationDataSource Members

Microsoft.SharePoint.Publishing.WebControls Namespace

VariationDataSource