AssociationGroup.ReadXml Method

Reads the AssociationGroup definition from the specified metadata XML for the specified external content type.

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


Public Shared Function ReadXml ( _
    xml As String, _
    <OutAttribute> ByRef errors As String(), _
    packageContents As PackageContents, _
    entity As Entity _
) As AssociationGroup
Dim xml As String
Dim errors As String()
Dim packageContents As PackageContents
Dim entity As Entity
Dim returnValue As AssociationGroup

returnValue = AssociationGroup.ReadXml(xml, errors, _
    packageContents, entity)
public static AssociationGroup ReadXml(
    string xml,
    out string[] errors,
    PackageContents packageContents,
    Entity entity


  • errors
    Type: []

    A list of noncritical errors that occurred when reading the XML.

Return Value

Type: Microsoft.SharePoint.BusinessData.Administration.Client.AssociationGroup
The AssociationGroup.


Exception Condition

The xml parameter or the entity parameter is a null reference (Nothing in Visual Basic).


The packageContents parameter does not have the PackageContents.Model value set.

See Also


AssociationGroup Class

AssociationGroup Members

Microsoft.SharePoint.BusinessData.Administration.Client Namespace