VariationDataSource.GetView method
NOTE: This API is now obsolete.
This member is reserved for internal use and is not intended to be used directly from your code.
Namespace: Microsoft.SharePoint.Publishing.WebControls
Assembly: Microsoft.SharePoint.Publishing (in Microsoft.SharePoint.Publishing.dll)
Syntax
'Declaration
<SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel := True)> _
<ObsoleteAttribute("Use of this control is not recommended - use the Variations Client Side OM instead", _
False)> _
Public Function GetView ( _
viewName As String _
) As DataSourceView
'Usage
Dim instance As VariationDataSource
Dim viewName As String
Dim returnValue As DataSourceView
returnValue = instance.GetView(viewName)
[SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel = true)]
[ObsoleteAttribute("Use of this control is not recommended - use the Variations Client Side OM instead",
false)]
public DataSourceView GetView(
string viewName
)
Parameters
- viewName
Type: System.String
Return value
Type: System.Web.UI.DataSourceView