IEntityInstance.GetView Method

NOTE: This API is now obsolete.

Gets the same entity instance in the specified view.

Namespace:  Microsoft.Office.Server.ApplicationRegistry.Runtime
Assembly:  Microsoft.SharePoint.Portal (in Microsoft.SharePoint.Portal.dll)

Syntax

'Declaration
<ObsoleteAttribute("O12 Application Registry API is deprecated. Please use BusinessData.",  _
    False)> _
Function GetView ( _
    viewName As String _
) As IEntityInstance
'Usage
Dim instance As IEntityInstance
Dim viewName As String
Dim returnValue As IEntityInstance

returnValue = instance.GetView(viewName)
[ObsoleteAttribute("O12 Application Registry API is deprecated. Please use BusinessData.", 
    false)]
IEntityInstance GetView(
    string viewName
)

Parameters

Return Value

Type: Microsoft.Office.Server.ApplicationRegistry.Runtime.IEntityInstance
An IEntityInstance object that represents the same entity instance but in a different view—with a different set of fields as per the schema of the view.

See Also

Reference

IEntityInstance Interface

IEntityInstance Members

Microsoft.Office.Server.ApplicationRegistry.Runtime Namespace