GetSiteTerms Method
This function retrieves the site terms.
Namespace: Microsoft.CommerceServer.Interop.Profiles
Assembly: Microsoft.CommerceServer.Interop.Profiles.BizDataAdmin (in Microsoft.CommerceServer.Interop.Profiles.BizDataAdmin.dll)
Syntax
'Declaration
Public Function GetSiteTerms ( _
encoding As String _
) As DOMDocument
'Usage
Dim instance As BusinessDataAdmin2FreeThreaded
Dim encoding As String
Dim returnValue As DOMDocument
returnValue = instance.GetSiteTerms(encoding)
public DOMDocument GetSiteTerms(
string encoding
)
public:
DOMDocument^ GetSiteTerms(
String^ encoding
)
public function GetSiteTerms(
encoding : String
) : DOMDocument
Parameters
- encoding
Type: System..::.String
Contains the document encoding.
Return Value
Type: DOMDocument
An XML DOMDocument object that contains the site terms.
Remarks
You must call connect before calling this method.
The XML DOMDocument object returned by this property is valid only if the method completed successfully.
The encoding 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 encoding parameter.
Permissions
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
BusinessDataAdmin2FreeThreaded Class