public void Dispose() { if (this._rpool != null) { lock (this) { if (this._rpool != null) { this._rpool.Dispose(); this._rpool = null; } } } }
internal SqlPartitionInfo(ResourcePool rpool, bool useIntegratedSecurity, string sqlConnectionString) : base(rpool) { _useIntegratedSecurity = useIntegratedSecurity; _sqlConnectionString = sqlConnectionString; Debug.Trace("PartitionInfo", "Created a new info, sqlConnectionString=" + sqlConnectionString); }
public void Dispose() { if (_rpool == null) { return; } lock (this) { if (_rpool != null) { _rpool.Dispose(); _rpool = null; } } }
internal PartitionInfo(ResourcePool rpool) { _rpool = rpool; }
internal StateServerPartitionInfo(ResourcePool rpool, string server, bool serverIsIPv6NumericAddress, int port) : base(rpool) { _server = server; _serverIsIPv6NumericAddress = serverIsIPv6NumericAddress; _port = port; _stateServerVersion = -1; Debug.Trace("PartitionInfo", "Created a new info, server=" + server + ", port=" + port); }
internal StateServerPartitionInfo(ResourcePool rpool, string server, int port) : base(rpool) { this._server = server; this._port = port; this._stateServerVersion = -1; }
internal SqlPartitionInfo(ResourcePool rpool, bool useIntegratedSecurity, string sqlConnectionString) : base(rpool) { this._support = ~System.Web.SessionState.SqlSessionStateStore.SupportFlags.None; this._lock = new object(); this._useIntegratedSecurity = useIntegratedSecurity; this._sqlConnectionString = sqlConnectionString; }