BusinessDataAdmin2FreeThreaded.GetSiteTerms Method (PIA)

Use this method to create an XML document containing the site terms.

Definition

[Visual Basic .NET]

Imports Microsoft.CommerceServer.Interop.Profiles
…
Public Function GetSiteTerms(sEncode As String,
) As DOMDocument

[C#]

using Microsoft.CommerceServer.Interop.Profiles;
…
public DOMDocument GetSiteTerms(string sEncode);

Parameters

[Visual Basic .NET]

  • sEncode
    A String that contains the document encoding.

[C#]

  • sEncode
    A string that contains the document encoding.

Return Values

If this method completes successfully, it returns a DOMDocument object that contains the site terms.

Exceptions

This method may throw one of many mapped exceptions or an exception of type COMException. See Standard COM Errors for additional details.

Remarks

You must call connect before calling this method.

The DOMDocument object returned by this property is valid only if the method completed successfully.

The sEncode parameter is used to specify the encoding within the document. It inserts the following tag in the document.

<xml encoding = "<sEncode>"> 

It does not change how the site terms are encoded or perform any validation that the encoding in the document matches the sEncode parameter.

Requirements

Namespace: Microsoft.CommerceServer.Interop.Profiles

Platforms: Windows 2000, Windows Server 2003

Assembly: bizdataadmin (in bizdadaadmin.dll)

See Also

BusinessDataAdmin2FreeThreaded Class

BusinessDataAdmin2FreeThreaded Methods

Copyright © 2005 Microsoft Corporation.
All rights reserved.