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
- SvcMapFileLoader.cs
- StructuredTypeEmitter.cs
- PrintDialogException.cs
- ISAPIWorkerRequest.cs
- RootNamespaceAttribute.cs
- CustomTypeDescriptor.cs
- PropertyChangingEventArgs.cs
- StickyNoteContentControl.cs
- NameGenerator.cs
- StructuralObject.cs
- TypeToArgumentTypeConverter.cs
- Misc.cs
- Validator.cs
- OutputCacheSection.cs
- XmlSchemaExternal.cs
- ScrollData.cs
- PrintingPermission.cs
- Glyph.cs
- PropertyStore.cs
- EventProvider.cs
- CommandConverter.cs
- CompilationSection.cs
- ControlAdapter.cs
- GridViewColumnCollectionChangedEventArgs.cs
- ZipPackage.cs
- FloaterBaseParaClient.cs
- RestHandler.cs
- EntitySet.cs
- CounterSample.cs
- MediaScriptCommandRoutedEventArgs.cs
- UnionCqlBlock.cs
- FieldToken.cs
- DataGridAddNewRow.cs
- LowerCaseStringConverter.cs
- ToolStripContentPanel.cs
- SurrogateSelector.cs
- TextLineResult.cs
- XmlRawWriterWrapper.cs
- BinaryReader.cs
- SingleObjectCollection.cs
- RequestBringIntoViewEventArgs.cs
- GridViewItemAutomationPeer.cs
- GridItem.cs
- MissingFieldException.cs
- SHA512.cs
- Environment.cs
- GPPOINTF.cs
- TableCell.cs
- ResourceReferenceKeyNotFoundException.cs
- ParagraphResult.cs
- DrawTreeNodeEventArgs.cs
- XmlCustomFormatter.cs
- TypeSystem.cs
- _DigestClient.cs
- CatalogPart.cs
- HtmlMeta.cs
- TextBoxRenderer.cs
- TypedTableBase.cs
- CodeDelegateCreateExpression.cs
- XmlWrappingWriter.cs
- RefType.cs
- XPathQilFactory.cs
- SmtpReplyReader.cs
- ListMarkerLine.cs
- SystemBrushes.cs
- Composition.cs
- AxHostDesigner.cs
- CompressEmulationStream.cs
- ContextMenu.cs
- ChildTable.cs
- NotImplementedException.cs
- XNodeValidator.cs
- documentsequencetextpointer.cs
- LifetimeServices.cs
- ThreadStateException.cs
- AutomationElementCollection.cs
- MatrixConverter.cs
- BitSet.cs
- FileDialogPermission.cs
- ConditionChanges.cs
- LayoutEngine.cs
- LocalFileSettingsProvider.cs
- ReadWriteControlDesigner.cs
- SqlClientMetaDataCollectionNames.cs
- DesigntimeLicenseContextSerializer.cs
- HandlerFactoryCache.cs
- OpenTypeLayout.cs
- InvalidProgramException.cs
- UseLicense.cs
- SoapSchemaExporter.cs
- Solver.cs
- ToolStripSplitStackLayout.cs
- PngBitmapDecoder.cs
- AuthenticationService.cs
- UpdateException.cs
- UpdateTracker.cs
- ProcessHostMapPath.cs
- RadioButtonRenderer.cs
- TrustLevel.cs
- BooleanConverter.cs