Share via


XmlRead Class

Definition

base class for parsing a xml configuration file

[System.Runtime.InteropServices.ComVisible(false)]
public class XmlRead
[<System.Runtime.InteropServices.ComVisible(false)>]
type XmlRead = class
Public Class XmlRead
Inheritance
XmlRead
Derived
Attributes

Constructors

XmlRead()

default constructor

XmlRead(ServerVersion, String, DatabaseEngineType, DatabaseEngineEdition)

initialize with version and alias

XmlRead(XmlRead)

intialize from another XmlReader

Fields

ATTR_CLOUD_MAX_BUILD
ATTR_CLOUD_MAX_MAJOR
ATTR_CLOUD_MAX_MINOR
ATTR_CLOUD_MIN_BUILD
ATTR_CLOUD_MIN_MAJOR
ATTR_CLOUD_MIN_MINOR
ATTR_DATAWAREHOUSE_ENABLED
ATTR_MAX_BUILD
ATTR_MAX_MAJOR
ATTR_MAX_MINOR
ATTR_MIN_BUILD
ATTR_MIN_MAJOR
ATTR_MIN_MINOR

Properties

Alias

an alias that is to be used when parsing the file

Closed

true if the current element has been fully read

DatabaseEngineEdition

The DatabaseEngineEdition of the connection

DatabaseEngineType

get database engine type

Reader

get the XmlTextReader

Version

get server version

Methods

Close()

finish parsing this element; step until the next element

GetAliasString(String)

apply the alias on the string str and return the result

GetFields(String)

read a 'fields' entry ( list of fields separated by '#' )

GetTextOfElement()

reads the text of the current element if available it assumes the curent element is empty or has inside it either a text node or an element node. probably a link_multiple.

IsElementWithCheckVersion(String)

Check if the current Element has the specified name, skipping any version elements along the way for which the version requirements aren't met

Skip()

skip this element

Applies to