Freigeben über


Connection-Member

Geschützte Member einschließen
Geerbte Member einschließen

Connection.When the object is serialized out as xml, its qualified name is x:connection.

Vom Connection-Typ werden die folgenden Member offengelegt.

Konstruktoren

  Name Beschreibung
Öffentliche Methode Connection() Initializes a new instance of the Connection class.
Öffentliche Methode Connection(String) Initializes a new instance of the Connection class from outer XML.
Öffentliche Methode Connection(array<OpenXmlElement[]) Initializes a new instance of the Connection class with the specified child elements.
Öffentliche Methode Connection(IEnumerable<OpenXmlElement>) Initializes a new instance of the Connection class with the specified child elements.

Nach oben

Eigenschaften

  Name Beschreibung
Öffentliche Eigenschaft Background Background Refresh.Represents the attribte in schema: background
Öffentliche Eigenschaft ChildElements Gets all the child nodes of this element. (Geerbt von OpenXmlElement.)
Öffentliche Eigenschaft ConnectionExtensionList Future Feature Data Storage.Represents the element tag in schema: x:extLst
Öffentliche Eigenschaft ConnectionFile Connection File.Represents the attribte in schema: odcFile
Öffentliche Eigenschaft Credentials Reconnection Method.Represents the attribte in schema: credentials
Öffentliche Eigenschaft DatabaseProperties ODBC and OLE DB Properties.Represents the element tag in schema: x:dbPr
Öffentliche Eigenschaft Deleted Deleted Connection.Represents the attribte in schema: deleted
Öffentliche Eigenschaft Description Connection Description.Represents the attribte in schema: description
Öffentliche Eigenschaft ExtendedAttributes Gets all extended attributes (attributes not defined in schema) of the element. (Geerbt von OpenXmlElement.)
Öffentliche Eigenschaft FirstChild Gets the first child of the OpenXmlElement. If there is no such OpenXmlElement, a null reference (Nothing in Visual Basic) is returned. (Geerbt von OpenXmlCompositeElement.)
Öffentliche Eigenschaft HasAttributes Gets a boolean value indicating whether the current element has any attributes. (Geerbt von OpenXmlElement.)
Öffentliche Eigenschaft HasChildren Gets a value indicating whether this element has any child elements. (Geerbt von OpenXmlCompositeElement.)
Öffentliche Eigenschaft Id Connection Id.Represents the attribte in schema: id
Öffentliche Eigenschaft InnerText Gets or sets the concatenated values of the node and all its children. (Geerbt von OpenXmlCompositeElement.)
Öffentliche Eigenschaft InnerXml Gets or sets the markup representing only the child nodes of this node. (Geerbt von OpenXmlCompositeElement.)
Öffentliche Eigenschaft Interval Automatic Refresh Interval.Represents the attribte in schema: interval
Öffentliche Eigenschaft KeepAlive Keep Connection Open.Represents the attribte in schema: keepAlive
Öffentliche Eigenschaft LastChild Gets the last child of the OpenXmlElement. If there is no such OpenXmlElement, a null reference (Nothing in Visual Basic) is returned. (Geerbt von OpenXmlCompositeElement.)
Öffentliche Eigenschaft LocalName Gets the local name of the element. (Setzt OpenXmlElement.LocalName außer Kraft.)
Öffentliche Eigenschaft MCAttributes Markup Compatibility Attributes Set. Return null if there is no Markup Compatibility Attribute defined in this element. (Geerbt von OpenXmlElement.)
Öffentliche Eigenschaft MinRefreshableVersion Minimum Version Required for Refresh.Represents the attribte in schema: minRefreshableVersion
Öffentliche Eigenschaft Name Connection Name.Represents the attribte in schema: name
Öffentliche Eigenschaft NamespaceDeclarations Gets all the namespace declarations defined in the current element. Return an empty enumerator if there is no namespace declaration. (Geerbt von OpenXmlElement.)
Öffentliche Eigenschaft NamespaceUri Gets the namespace URI of this node. (Geerbt von OpenXmlElement.)
Öffentliche Eigenschaft New New Connection.Represents the attribte in schema: new
Öffentliche Eigenschaft OlapProperties OLAP Properties.Represents the element tag in schema: x:olapPr
Öffentliche Eigenschaft OnlyUseConnectionFile Only Use Connection File.Represents the attribte in schema: onlyUseConnectionFile
Öffentliche Eigenschaft OpenXmlElementContext Gets the OpenXmlEementContext. (Geerbt von OpenXmlElement.)
Öffentliche Eigenschaft OuterXml Gets the markup representing this element and all its child elements. (Geerbt von OpenXmlElement.)
Öffentliche Eigenschaft Parameters Query Parameters.Represents the element tag in schema: x:parameters
Öffentliche Eigenschaft Parent Gets the parent of this element. (Geerbt von OpenXmlElement.)
Öffentliche Eigenschaft Prefix Gets the namespace prefix of this node. (Geerbt von OpenXmlElement.)
Öffentliche Eigenschaft ReconnectionMethod Reconnection Method.Represents the attribte in schema: reconnectionMethod
Öffentliche Eigenschaft RefreshedVersion Last Refresh Version.Represents the attribte in schema: refreshedVersion
Öffentliche Eigenschaft RefreshOnLoad Refresh on Open.Represents the attribte in schema: refreshOnLoad
Öffentliche Eigenschaft SaveData Save Data.Represents the attribte in schema: saveData
Öffentliche Eigenschaft SavePassword Save Password.Represents the attribte in schema: savePassword
Öffentliche Eigenschaft SingleSignOnId SSO Id.Represents the attribte in schema: singleSignOnId
Öffentliche Eigenschaft SourceFile Source Database File.Represents the attribte in schema: sourceFile
Öffentliche Eigenschaft TextProperties Text Import Settings.Represents the element tag in schema: x:textPr
Öffentliche Eigenschaft Type Database Source Type.Represents the attribte in schema: type
Öffentliche Eigenschaft WebQueryProperties Web Query Properties.Represents the element tag in schema: x:webPr
Öffentliche Eigenschaft XmlQualifiedName Gets the qualified name of the node. (Geerbt von OpenXmlElement.)

Nach oben

Methoden

  Name Beschreibung
Öffentliche Methode AddAnnotation Adds an object to the annotation list of this OpenXmlElement. (Geerbt von OpenXmlElement.)
Öffentliche Methode AddNamespaceDeclaration Adds a namepace declaration to the current node. (Geerbt von OpenXmlElement.)
Öffentliche Methode Ancestors() Enumerate all the ancestor nodes of this element. (Geerbt von OpenXmlElement.)
Öffentliche Methode Annotation(Type) Get the first annotation object of the specified type from this OpenXmlElement. (Geerbt von OpenXmlElement.)
Öffentliche Methode Annotation<T>() Get the first annotation object of the specified type from this OpenXmlElement. (Geerbt von OpenXmlElement.)
Öffentliche Methode Annotations(Type) Gets a collection of annotations of the specified type for this OpenXmlElement. (Geerbt von OpenXmlElement.)
Öffentliche Methode Annotations<T>() Gets a collection of annotations of the specified type for this OpenXmlElement. (Geerbt von OpenXmlElement.)
Öffentliche Methode Append(array<OpenXmlElement[]) Adds the elements to the end of the list of child nodes, of this element. (Geerbt von OpenXmlElement.)
Öffentliche Methode Append(IEnumerable<OpenXmlElement>) Adds the elements to the end of the list of child nodes, of this element. (Geerbt von OpenXmlElement.)
Öffentliche Methode AppendChild<T>(T) Adds the specified element to the end of the list of child nodes, of this element. (Geerbt von OpenXmlCompositeElement.)
Öffentliche Methode AppendChild<T>(T) Adds the specified element to the end of the list of child nodes, of this element. (Geerbt von OpenXmlElement.)
Öffentliche Methode ClearAllAttributes Clear all the attributes ( known attributes + extended attributes ) (Geerbt von OpenXmlElement.)
Öffentliche Methode Clone Creates a duplicate of this node. (Geerbt von OpenXmlElement.)
Öffentliche Methode CloneNode Creates a duplicate of this node. (Setzt OpenXmlElement.CloneNode(Boolean) außer Kraft.)
Öffentliche Methode Descendants<T>() Enumerate all the descendants elements (which type is T) of this element. Preorder traversering. (Geerbt von OpenXmlElement.)
Öffentliche Methode Elements<T>() Enumerate for specific type of elements in child elements (Geerbt von OpenXmlElement.)
Öffentliche Methode ElementsAfter Enumerate all the sibling elements after this element in same parent. (Geerbt von OpenXmlElement.)
Öffentliche Methode ElementsBefore Enumerate all the sibling elements before this element in same parent. (Geerbt von OpenXmlElement.)
Öffentliche Methode Equals (Geerbt von Object.)
Geschützte Methode Finalize (Geerbt von Object.)
Öffentliche Methode GetAttribute Gets a Open XML attribute with the specifed tag name and namespace URI. (Geerbt von OpenXmlElement.)
Öffentliche Methode GetAttributes Get a copy of all the attributes (Geerbt von OpenXmlElement.)
Öffentliche Methode GetEnumerator Returns an enumerator that iterates through the child collection. (Geerbt von OpenXmlElement.)
Öffentliche Methode GetFirstChild<T> Find the first child element in type T (Geerbt von OpenXmlElement.)
Öffentliche Methode GetHashCode (Geerbt von Object.)
Öffentliche Methode GetType (Geerbt von Object.)
Öffentliche Methode InsertAfter<T>(T, OpenXmlElement) Inserts the specified element immediately after the specified reference element. (Geerbt von OpenXmlCompositeElement.)
Öffentliche Methode InsertAfter<T>(T, OpenXmlElement) Inserts the specified element immediately after the specified reference element. (Geerbt von OpenXmlElement.)
Öffentliche Methode InsertAfterSelf<T> Inserts the specified element immediately after this element. (Geerbt von OpenXmlElement.)
Öffentliche Methode InsertAt<T>(T, Int32) Inserts the specified element at the specified index in children. (Geerbt von OpenXmlCompositeElement.)
Öffentliche Methode InsertAt<T>(T, Int32) Inserts the specified element at the specified index in children. (Geerbt von OpenXmlElement.)
Öffentliche Methode InsertBefore<T>(T, OpenXmlElement) Inserts the specified element immediately before the specified reference element. (Geerbt von OpenXmlCompositeElement.)
Öffentliche Methode InsertBefore<T>(T, OpenXmlElement) Inserts the specified element immediately before the specified reference element. (Geerbt von OpenXmlElement.)
Öffentliche Methode InsertBeforeSelf<T> Inserts the specified element immediately before this element. (Geerbt von OpenXmlElement.)
Öffentliche Methode IsAfter Determines if the current element appears after a specified element in document order. (Geerbt von OpenXmlElement.)
Öffentliche Methode IsBefore Determines if the current element appears before a specified element in document order. (Geerbt von OpenXmlElement.)
Öffentliche Methode LookupNamespace Resolve the namespace prefix in the context of current node (Geerbt von OpenXmlElement.)
Öffentliche Methode LookupPrefix Finds the corresponding prefix for a namespace uri in the current element scope. (Geerbt von OpenXmlElement.)
Geschützte Methode MemberwiseClone (Geerbt von Object.)
Öffentliche Methode NextSibling() Gets the OpenXmlElement immediately following this OpenXmlElement. If there is no next OpenXmlElement, a null reference (Nothing in Visual Basic) is returned. (Geerbt von OpenXmlElement.)
Öffentliche Methode PrependChild<T>(T) Adds the specified element to the beginning of the list of child nodes for this element. (Geerbt von OpenXmlCompositeElement.)
Öffentliche Methode PrependChild<T>(T) Adds the specified element to the beginning of the list of child nodes for this element. (Geerbt von OpenXmlElement.)
Öffentliche Methode PreviousSibling() Gets the OpenXmlElement immediately preceding this OpenXmlElement. If there is no such preceding OpenXmlElement, a null reference (Nothing in Visual Basic) is returned. (Geerbt von OpenXmlElement.)
Öffentliche Methode Remove Removes this element from its parent. (Geerbt von OpenXmlElement.)
Öffentliche Methode RemoveAllChildren Remove all the child elements (Geerbt von OpenXmlCompositeElement.)
Öffentliche Methode RemoveAnnotations(Type) Removes the annotations of the specified type from this OpenXmlElement. (Geerbt von OpenXmlElement.)
Öffentliche Methode RemoveAnnotations<T>() Removes the annotations of the specified type from this OpenXmlElement. (Geerbt von OpenXmlElement.)
Öffentliche Methode RemoveAttribute Remove the attribute from the element. (Geerbt von OpenXmlElement.)
Öffentliche Methode RemoveChild<T>(T) Removes specified child element. (Geerbt von OpenXmlCompositeElement.)
Öffentliche Methode RemoveChild<T>(T) Removes specified child element. (Geerbt von OpenXmlElement.)
Öffentliche Methode RemoveNamespaceDeclaration Removes namespace declaration for a specific prefix. do nothing if the prefix is not existed. (Geerbt von OpenXmlElement.)
Öffentliche Methode ReplaceChild<T>(OpenXmlElement, T) Replaces the child OpenXmlElement oldChild with newChild OpenXmlElement. (Geerbt von OpenXmlCompositeElement.)
Öffentliche Methode ReplaceChild<T>(OpenXmlElement, T) Replaces the child OpenXmlElement oldChild with newChild OpenXmlElement. (Geerbt von OpenXmlElement.)
Öffentliche Methode SetAttribute Set an attribute to the element. If the attribute is a known attribute, the value of the attribute is set. If the attribute is an extended attribute, the 'openxmlAttribute' is added to the extended attributes list. (Geerbt von OpenXmlElement.)
Öffentliche Methode SetAttributes Set a bunch of attributes to the element. If a attribute is a known attribute, the value of the attribute is set. If a attribute is an extended attribute, the 'openxmlAttribute' is added to the extended attributes list. (Geerbt von OpenXmlElement.)
Öffentliche Methode ToString (Geerbt von Object.)
Öffentliche Methode WriteTo Saves the current node to the specified XmlWriter. (Geerbt von OpenXmlElement.)

Nach oben

Explizite Schnittstellenimplementierungen

  Name Beschreibung
Explizite SchnittstellenimplementierungPrivate Methode IEnumerable.GetEnumerator (Geerbt von OpenXmlElement.)

Nach oben

Siehe auch

Referenz

Connection Klasse

DocumentFormat.OpenXml.Spreadsheet-Namespace