一聚教程网:一个值得你收藏的教程网站

热门教程

XmlConnection

时间:2022-07-02 11:49:31 编辑:袖梨 来源:一聚教程网

using System;
using System.ComponentModel;
using System.Data;
using System.Xml;
namespace System.Data.XmlClient
{
    public class XmlConnection : Component, IDbConnection, ICloneable
    {
    // Constructors
        public XmlConnection()
        {
        }
    public XmlConnection(string connectionString)
    {
        _connString = connectionString;
    }
    ////////////////////
    // IDbConnection
    ////////////////////
    // Public Properties
    public string ConnectionString
    {
        get { return _connString;    }
        set { _connString = value; }
    }
    
    public int ConnectionTimeout
    {
        get
        {
        throw new InvalidOperationException("XmlClient Provider does not support this function");

热门栏目