Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Data / Microsoft / SqlServer / Server / SmiEventStream.cs / 1305376 / SmiEventStream.cs
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// [....]
// [....]
//-----------------------------------------------------------------------------
namespace Microsoft.SqlServer.Server {
using System;
internal abstract class SmiEventStream : IDisposable {
internal abstract bool HasEvents { get; }
internal abstract void Close( SmiEventSink sink );
public virtual void Dispose( ) {
// Obsoleting from SMI -- use Close instead.
// Intended to be removed (along with inheriting IDisposable) prior to RTM.
// Implement body with throw because there are only a couple of ways to get to this code:
// 1) Client is calling this method even though the server negotiated for V3+ and dropped support for V2-.
// 2) Server didn't implement V2- on some interface and negotiated V2-.
System.Data.Common.ADP.InternalError( System.Data.Common.ADP.InternalErrorCode.UnimplementedSMIMethod );
}
internal abstract void ProcessEvent( SmiEventSink sink );
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- XmlDocumentSurrogate.cs
- XmlSchemaProviderAttribute.cs
- DeleteHelper.cs
- MatrixCamera.cs
- PageClientProxyGenerator.cs
- EventEntry.cs
- ProtectedConfiguration.cs
- listitem.cs
- QilName.cs
- Column.cs
- DbConnectionHelper.cs
- WorkItem.cs
- ChtmlTextWriter.cs
- PromptBuilder.cs
- EdmPropertyAttribute.cs
- HtmlEncodedRawTextWriter.cs
- IDQuery.cs
- FontNamesConverter.cs
- AsyncResult.cs
- ScriptingJsonSerializationSection.cs
- SrgsItemList.cs
- UrlMappingsModule.cs
- DataGridTextColumn.cs
- ListViewUpdatedEventArgs.cs
- CatalogZone.cs
- MouseEvent.cs
- FontCollection.cs
- RegexReplacement.cs
- List.cs
- SplayTreeNode.cs
- xsdvalidator.cs
- ConfigurationValidatorBase.cs
- Exception.cs
- TransactedBatchContext.cs
- SessionEndingCancelEventArgs.cs
- BindingBase.cs
- ChineseLunisolarCalendar.cs
- Material.cs
- KnownTypesProvider.cs
- ExportFileRequest.cs
- SecureUICommand.cs
- ApplicationInterop.cs
- TTSEvent.cs
- ValueExpressions.cs
- SqlNotificationRequest.cs
- CatalogPartCollection.cs
- QueryExpr.cs
- ResolveNameEventArgs.cs
- DataGridViewAutoSizeColumnsModeEventArgs.cs
- Module.cs
- SqlError.cs
- MergablePropertyAttribute.cs
- MouseActionConverter.cs
- RouteParser.cs
- regiisutil.cs
- QuadraticBezierSegment.cs
- TreeNodeCollectionEditor.cs
- ServiceProviders.cs
- SqlDataAdapter.cs
- ArgumentValueSerializer.cs
- PolygonHotSpot.cs
- WebConfigurationFileMap.cs
- TabPage.cs
- LinqDataSourceStatusEventArgs.cs
- XmlCollation.cs
- MailDefinition.cs
- RIPEMD160.cs
- SoapSchemaExporter.cs
- XmlSchemaNotation.cs
- WeakHashtable.cs
- IBuiltInEvidence.cs
- AnimationTimeline.cs
- EnumBuilder.cs
- BitConverter.cs
- VerificationAttribute.cs
- SID.cs
- SpinLock.cs
- LayoutExceptionEventArgs.cs
- LinkGrep.cs
- AspNetSynchronizationContext.cs
- ImportedNamespaceContextItem.cs
- _ConnectStream.cs
- TreeNodeStyle.cs
- ManipulationLogic.cs
- ImplicitInputBrush.cs
- TextServicesLoader.cs
- XmlImplementation.cs
- _NegotiateClient.cs
- ParallelForEach.cs
- QilDataSource.cs
- ConfigurationSectionCollection.cs
- AuthenticationManager.cs
- IndexerNameAttribute.cs
- TypeContext.cs
- Typography.cs
- ReverseInheritProperty.cs
- Unit.cs
- XmlAttributeCache.cs
- Section.cs
- EnumType.cs