Share via


Association.GetByName Method

Gets an Association object given its name.

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

Syntax

'Declaration
Public Shared Function GetByName ( _
    associationName As String, _
    lobSystem As LobSystem _
) As Association
'Usage
Dim associationName As String
Dim lobSystem As LobSystem
Dim returnValue As Association

returnValue = Association.GetByName(associationName, _
    lobSystem)
public static Association GetByName(
    string associationName,
    LobSystem lobSystem
)

Parameters

  • associationName
    Type: System.String
    The name of the association.

Return Value

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

Remarks

The LobSystem is used to disambiguate similarly named Associations in different LobSYstems.

See Also

Reference

Association Class

Association Members

Microsoft.Office.Server.ApplicationRegistry.MetadataModel Namespace