Share via


Association.GetById Method

Gets an Association object given its ID.

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

Syntax

'Declaration
Public Shared Function GetById ( _
    metadataObjectId As UInteger _
) As Association
'Usage
Dim metadataObjectId As UInteger
Dim returnValue As Association

returnValue = Association.GetById(metadataObjectId)
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