Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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. // //[....] //[....] //----------------------------------------------------------------------------- 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
- _TransmitFileOverlappedAsyncResult.cs
- CreateUserErrorEventArgs.cs
- BuildProvider.cs
- HttpModule.cs
- CodeDirectiveCollection.cs
- NullableLongMinMaxAggregationOperator.cs
- SelectionEditor.cs
- AudioStateChangedEventArgs.cs
- BaseHashHelper.cs
- DataViewManagerListItemTypeDescriptor.cs
- ChtmlTextBoxAdapter.cs
- WebPartAuthorizationEventArgs.cs
- XmlNavigatorStack.cs
- ReturnEventArgs.cs
- SectionVisual.cs
- SourceItem.cs
- IIS7WorkerRequest.cs
- FrameDimension.cs
- VersionPair.cs
- LinkUtilities.cs
- SqlDelegatedTransaction.cs
- DbInsertCommandTree.cs
- CatalogZone.cs
- ReferencedAssemblyResolver.cs
- LogSwitch.cs
- Point.cs
- TemplateControl.cs
- UniqueSet.cs
- sortedlist.cs
- ManagementException.cs
- XamlPathDataSerializer.cs
- UseManagedPresentationBindingElementImporter.cs
- SpeechRecognitionEngine.cs
- SourceCollection.cs
- LateBoundBitmapDecoder.cs
- TagMapCollection.cs
- TypeExtensionSerializer.cs
- WebPartEditorCancelVerb.cs
- ClientCultureInfo.cs
- SessionState.cs
- Compilation.cs
- DataGridTextBoxColumn.cs
- DocumentSequenceHighlightLayer.cs
- MetafileHeaderEmf.cs
- VisemeEventArgs.cs
- WebPartHelpVerb.cs
- FixedPageProcessor.cs
- ObjectDataSourceStatusEventArgs.cs
- Light.cs
- CachedCompositeFamily.cs
- RepeatInfo.cs
- InkSerializer.cs
- XmlSchemaInclude.cs
- LogicalTreeHelper.cs
- DataGridColumnHeader.cs
- documentsequencetextpointer.cs
- TextContainerHelper.cs
- DataGridViewLinkCell.cs
- TableRow.cs
- Double.cs
- StorageRoot.cs
- WebPartDescription.cs
- XamlStyleSerializer.cs
- SimpleExpression.cs
- TakeQueryOptionExpression.cs
- TypeDefinition.cs
- FrameDimension.cs
- ColorTransformHelper.cs
- DesignerObjectListAdapter.cs
- SymbolUsageManager.cs
- Stack.cs
- WebEvents.cs
- SafeBitVector32.cs
- SizeAnimationBase.cs
- TemplateBuilder.cs
- AnonymousIdentificationModule.cs
- Instrumentation.cs
- AccessViolationException.cs
- XPathDocumentBuilder.cs
- PrincipalPermission.cs
- XmlQueryType.cs
- SortDescription.cs
- MimeMultiPart.cs
- Hashtable.cs
- Menu.cs
- ProtocolsConfigurationEntry.cs
- EntityStoreSchemaGenerator.cs
- DropTarget.cs
- DeclaredTypeElement.cs
- HttpHandlersSection.cs
- IntMinMaxAggregationOperator.cs
- Unit.cs
- _TimerThread.cs
- odbcmetadatafactory.cs
- ContentElement.cs
- ModelPerspective.cs
- PageVisual.cs
- Speller.cs
- DataGridViewColumnCollectionDialog.cs
- DesignSurface.cs