Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / ndp / fx / src / Data / Microsoft / SqlServer / Server / SmiEventStream.cs / 1 / 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. // Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- GlyphingCache.cs
- TextEvent.cs
- ToolStripPanelRow.cs
- WriteStateInfoBase.cs
- ReadWriteObjectLock.cs
- GlobalizationAssembly.cs
- XmlDataSource.cs
- MILUtilities.cs
- DataGridViewCellStyleChangedEventArgs.cs
- ServiceContractListItemList.cs
- Variant.cs
- Rotation3D.cs
- InvokePattern.cs
- IList.cs
- XmlNamedNodeMap.cs
- WaitForChangedResult.cs
- HandleCollector.cs
- PenThreadPool.cs
- DataGridViewIntLinkedList.cs
- CodeTypeOfExpression.cs
- SplitterDesigner.cs
- LineVisual.cs
- ShapeTypeface.cs
- PassportAuthenticationModule.cs
- ChtmlSelectionListAdapter.cs
- DirectoryGroupQuery.cs
- BinaryReader.cs
- FacetChecker.cs
- References.cs
- followingsibling.cs
- ItemChangedEventArgs.cs
- TraceLevelStore.cs
- XmlQueryStaticData.cs
- TextProviderWrapper.cs
- GroupBoxRenderer.cs
- DBBindings.cs
- OwnerDrawPropertyBag.cs
- FrameworkRichTextComposition.cs
- Freezable.cs
- MimeTypePropertyAttribute.cs
- DelimitedListTraceListener.cs
- WebPartMenuStyle.cs
- TableLayoutSettings.cs
- TrackingCondition.cs
- AlternateView.cs
- OleDbInfoMessageEvent.cs
- MexTcpBindingElement.cs
- WebHeaderCollection.cs
- ClrPerspective.cs
- Pen.cs
- XamlFilter.cs
- DataColumnMappingCollection.cs
- Hash.cs
- WindowShowOrOpenTracker.cs
- ColumnCollection.cs
- SimpleBitVector32.cs
- HierarchicalDataSourceControl.cs
- NonBatchDirectoryCompiler.cs
- WindowAutomationPeer.cs
- CRYPTPROTECT_PROMPTSTRUCT.cs
- DataGridRowHeaderAutomationPeer.cs
- Timeline.cs
- ListBox.cs
- ReadWriteSpinLock.cs
- PropertyChangingEventArgs.cs
- JournalNavigationScope.cs
- HybridDictionary.cs
- CalculatedColumn.cs
- TypeReference.cs
- ImageFormatConverter.cs
- Column.cs
- DataStreams.cs
- TypeUtil.cs
- SystemTcpStatistics.cs
- storepermissionattribute.cs
- ConfigXmlDocument.cs
- StringWriter.cs
- UriExt.cs
- GeometryCombineModeValidation.cs
- StandardRuntimeEnumValidator.cs
- SecurityTokenProviderContainer.cs
- ImageList.cs
- DiscoveryDocumentSearchPattern.cs
- HttpEncoder.cs
- ReadWriteObjectLock.cs
- TextRunProperties.cs
- SafeRightsManagementPubHandle.cs
- Handle.cs
- Simplifier.cs
- Opcode.cs
- NetworkStream.cs
- KeyValuePair.cs
- Compiler.cs
- Sql8ExpressionRewriter.cs
- ConstructorExpr.cs
- PersonalizationStateInfoCollection.cs
- QilDataSource.cs
- RadioButtonPopupAdapter.cs
- NamespaceEmitter.cs
- ToolStripItemRenderEventArgs.cs