Action.MergeXml Method
NOTE: This API is now obsolete.
Merges an Action element represented in a XmlReader with the existing Action in the Business Data Catalog repository.
Namespace: Microsoft.Office.Server.ApplicationRegistry.Administration
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 MergeXml ( _
xmlReader As XmlReader, _
context As ParseContext, _
entity As Entity, _
packageContents As PackageContents _
) As Action
'Usage
Dim xmlReader As XmlReader
Dim context As ParseContext
Dim entity As Entity
Dim packageContents As PackageContents
Dim returnValue As Action
returnValue = Action.MergeXml(xmlReader, _
context, entity, packageContents)
[ObsoleteAttribute("O12 Application Registry API is deprecated. Please use BusinessData.",
false)]
public static Action MergeXml(
XmlReader xmlReader,
ParseContext context,
Entity entity,
PackageContents packageContents
)
Parameters
xmlReader
Type: System.Xml.XmlReaderThe XmlReader object representing the Action to be merged.
context
Type: Microsoft.Office.Server.ApplicationRegistry.Administration.ParseContextThe ParseContext object.
packageContents
Type: Microsoft.Office.Server.ApplicationRegistry.Administration.PackageContentsOne the following PackageContents members: Permissions, LocalizedNames, or Properties.
Return Value
Type: Microsoft.Office.Server.ApplicationRegistry.Administration.Action
An Action object with its parameters replaced by those specified in the XmlReader.
Remarks
The current node of the XmlReader must be set at the target Action.
See Also
Reference
Microsoft.Office.Server.ApplicationRegistry.Administration Namespace