Compartilhar via


AssociationGroup.GetById Method

Returns the association group with the specified association group identifier from the specified metadata store.

Namespace:  Microsoft.SharePoint.BusinessData.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Shared Function GetById ( _
    id As UInteger, _
    metadataCatalog As AdministrationMetadataCatalog _
) As AssociationGroup
'Usage
Dim id As UInteger
Dim metadataCatalog As AdministrationMetadataCatalog
Dim returnValue As AssociationGroup

returnValue = AssociationGroup.GetById(id, metadataCatalog)
public static AssociationGroup GetById(
    uint id,
    AdministrationMetadataCatalog metadataCatalog
)

Parameters

Return Value

Type: Microsoft.SharePoint.BusinessData.Administration.AssociationGroup
The association group.

Exceptions

Exception Condition
ArgumentNullException

If the metadataCatalog object is null

See Also

Reference

AssociationGroup Class

AssociationGroup Members

Microsoft.SharePoint.BusinessData.Administration Namespace