Partager via


Association.GetByName, méthode (Microsoft.Office.Server.ApplicationRegistry.MetadataModel)

Gets an Association object given its name.

Espace de noms : Microsoft.Office.Server.ApplicationRegistry.MetadataModel
Assembly : Microsoft.SharePoint.Portal (dans microsoft.sharepoint.portal.dll)

Syntaxe

'Déclaration
Public Shared Function GetByName ( _
    associationName As String, _
    lobSystem As LobSystem _
) As Association
'Utilisation
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
)

Paramètres

  • associationName
    The name of the association.
  • lobSystem
    The LobSystem object.

Valeur de retour

An Association object.

Remarques

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

Voir aussi

Référence

Association, classe
Membres Association
Microsoft.Office.Server.ApplicationRegistry.MetadataModel, espace de noms