Share via


MetadataObject Constructor

NOTE: This API is now obsolete.

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

Syntax

'Declaration
<ObsoleteAttribute("O12 Application Registry API is deprecated. Please use BusinessData.",  _
    False)> _
Protected Sub New ( _
    id As UInteger, _
    name As String, _
    isCached As Boolean, _
    version As Integer _
)
'Usage
Dim id As UInteger
Dim name As String
Dim isCached As Boolean
Dim version As Integer

Dim instance As New MetadataObject(id, name, _
    isCached, version)
[ObsoleteAttribute("O12 Application Registry API is deprecated. Please use BusinessData.", 
    false)]
protected MetadataObject(
    uint id,
    string name,
    bool isCached,
    int version
)

Parameters

  • isCached
    Type: System.Boolean

    Determines whether the object should be cached or not. If false, the Business Data Catalog does not cache the metadata object in memory.

  • version
    Type: System.Int32

    A version number for the object. This is of type System.Version.

See Also

Reference

MetadataObject Class

MetadataObject Members

Microsoft.Office.Server.ApplicationRegistry.Administration Namespace