共用方式為


XmlReadDoc Class

Definition

read an xml configuration file

[System.Runtime.InteropServices.ComVisible(false)]
public class XmlReadDoc : Microsoft.SqlServer.Management.Sdk.Sfc.XmlRead
[<System.Runtime.InteropServices.ComVisible(false)>]
type XmlReadDoc = class
    inherit XmlRead
Public Class XmlReadDoc
Inherits XmlRead
Inheritance
XmlReadDoc
Attributes

Constructors

XmlReadDoc(ServerVersion, String, DatabaseEngineType, DatabaseEngineEdition)

initialize server version and alias

Fields

ATTR_CLOUD_MAX_BUILD (Inherited from XmlRead)
ATTR_CLOUD_MAX_MAJOR (Inherited from XmlRead)
ATTR_CLOUD_MAX_MINOR (Inherited from XmlRead)
ATTR_CLOUD_MIN_BUILD (Inherited from XmlRead)
ATTR_CLOUD_MIN_MAJOR (Inherited from XmlRead)
ATTR_CLOUD_MIN_MINOR (Inherited from XmlRead)
ATTR_DATAWAREHOUSE_ENABLED (Inherited from XmlRead)
ATTR_MAX_BUILD (Inherited from XmlRead)
ATTR_MAX_MAJOR (Inherited from XmlRead)
ATTR_MAX_MINOR (Inherited from XmlRead)
ATTR_MIN_BUILD (Inherited from XmlRead)
ATTR_MIN_MAJOR (Inherited from XmlRead)
ATTR_MIN_MINOR (Inherited from XmlRead)

Properties

Alias

an alias that is to be used when parsing the file

(Inherited from XmlRead)
Closed

true if the current element has been fully read

(Inherited from XmlRead)
DatabaseEngineEdition

The DatabaseEngineEdition of the connection

(Inherited from XmlRead)
DatabaseEngineType

get database engine type

(Inherited from XmlRead)
Properties

read a PROPERTIES tag

Reader

get the XmlTextReader

(Inherited from XmlRead)
Settings

read a SETTINGS tag

Version

get server version

(Inherited from XmlRead)

Methods

Close()

close the reader

GetAliasString(String)

apply the alias on the string str and return the result

(Inherited from XmlRead)
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.

(Inherited from XmlRead)
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

(Inherited from XmlRead)
LoadFile(Assembly, String)

load the file attached as a resource to the assembly

ReadUnion()

try to read an UNION tag, return true if succesfull

Skip()

skip this element

(Inherited from XmlRead)

Applies to