Share via


Association.GetById Method

NOTE: This API is now obsolete.

Gets an Association object given its ID.

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

Syntax

'Declaration
<ObsoleteAttribute("O12 Application Registry API is deprecated. Please use BusinessData.",  _
    False)> _
Public Shared Function GetById ( _
    metadataObjectId As UInteger _
) As Association
'Usage
Dim metadataObjectId As UInteger
Dim returnValue As Association

returnValue = Association.GetById(metadataObjectId)
[ObsoleteAttribute("O12 Application Registry API is deprecated. Please use BusinessData.", 
    false)]
public static Association GetById(
    uint metadataObjectId
)

Parameters

  • metadataObjectId
    Type: System.UInt32

    The ID of the Association object.

Return Value

Type: Microsoft.Office.Server.ApplicationRegistry.MetadataModel.Association
An Association object.

See Also

Reference

Association Class

Association Members

Microsoft.Office.Server.ApplicationRegistry.MetadataModel Namespace