Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
id
Type: System.UInt32The association group identifier.
metadataCatalog
Type: Microsoft.SharePoint.BusinessData.Administration.AdministrationMetadataCatalogThe metadata store.
Return Value
Type: Microsoft.SharePoint.BusinessData.Administration.AssociationGroup
The association group.
Exceptions
| Exception | Condition |
|---|---|
| ArgumentNullException | If the metadataCatalog object is null |