IInstance.DataClass Property

NOTE: This API is now obsolete.

Gets the data class (entity) that this object is an instance of.

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)> _
ReadOnly Property DataClass As DataClass
    Get
'Usage
Dim instance As IInstance
Dim value As DataClass

value = instance.DataClass
[ObsoleteAttribute("O12 Application Registry API is deprecated. Please use BusinessData.", 
    false)]
DataClass DataClass { get; }

Property Value

Type: Microsoft.Office.Server.ApplicationRegistry.MetadataModel.DataClass
A DataClass object representing the entity this is an instance of.

See Also

Reference

IInstance Interface

IInstance Members

Microsoft.Office.Server.ApplicationRegistry.Runtime Namespace