AbstractEntityInstance.GetView Method
NOTE: This API is now obsolete.
When overridden in a derived class, 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)> _
Public Overridable Function GetView ( _
viewName As String _
) As IEntityInstance
'Usage
Dim instance As AbstractEntityInstance
Dim viewName As String
Dim returnValue As IEntityInstance
returnValue = instance.GetView(viewName)
[ObsoleteAttribute("O12 Application Registry API is deprecated. Please use BusinessData.",
false)]
public virtual IEntityInstance GetView(
string viewName
)
Parameters
viewName
Type: System.StringThe name of the view.
Return Value
Type: Microsoft.Office.Server.ApplicationRegistry.Runtime.IEntityInstance
An IEntityInstance object that represents a different view of the same entity instance— with a different set of fields as per the schema of the view.
Implements
IEntityInstance.GetView(String)
See Also
Reference
AbstractEntityInstance Members
Microsoft.Office.Server.ApplicationRegistry.Runtime Namespace