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 XML representation of the MetadataObject.
Namespace: Microsoft.SharePoint.BusinessData.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Overridable Function WriteXml ( _
packageContents As PackageContents _
) As String
'Usage
Dim instance As MetadataObject
Dim packageContents As PackageContents
Dim returnValue As String
returnValue = instance.WriteXml(packageContents)
public virtual string WriteXml(
PackageContents packageContents
)
Parameters
packageContents
Type: Microsoft.SharePoint.BusinessData.Parser.PackageContentsOptions that specify which elements to include in the generated XML.
Return Value
Type: System.String
The XML representation of the MetadataObject,
Examples
The following example illustrates the use of this property on an Model object, which is a MetadaObject type.
Code Snippet: Export a BDC Model From the BDC Metadata Store