Association.GetByName Method
NOTE: This API is now obsolete.
Gets an Association object given its name.
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 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)
[ObsoleteAttribute("O12 Application Registry API is deprecated. Please use BusinessData.",
false)]
public static Association GetByName(
string associationName,
LobSystem lobSystem
)
Parameters
associationName
Type: System.StringThe name of the association.
lobSystem
Type: Microsoft.Office.Server.ApplicationRegistry.MetadataModel.LobSystemThe LobSystem object.
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
Microsoft.Office.Server.ApplicationRegistry.MetadataModel Namespace