Share via


SPCalendarDataSource.GetView Method

Returns the view name of the current object.

Namespace:  Microsoft.SharePoint.WebControls
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
Protected Function GetView ( _
    viewName As String _
) As DataSourceView
'Usage
Dim viewName As String
Dim returnValue As DataSourceView

returnValue = Me.GetView(viewName)
protected DataSourceView GetView(
    string viewName
)

Parameters

Return Value

Type: System.Web.UI.DataSourceView

See Also

Reference

SPCalendarDataSource Class

SPCalendarDataSource Members

Microsoft.SharePoint.WebControls Namespace