Code:
/ DotNET / DotNET / 8.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
- FormDesigner.cs
- TagNameToTypeMapper.cs
- InvariantComparer.cs
- SqlWorkflowInstanceStoreLock.cs
- Column.cs
- EventDrivenDesigner.cs
- DataGridViewComboBoxColumn.cs
- InkCanvasFeedbackAdorner.cs
- GenericWebPart.cs
- RelatedView.cs
- SecurityContextSecurityTokenResolver.cs
- IndexedGlyphRun.cs
- WinFormsUtils.cs
- WebZoneDesigner.cs
- SecUtil.cs
- TextSelectionHelper.cs
- WebBaseEventKeyComparer.cs
- ClientScriptManager.cs
- Exceptions.cs
- TreeNode.cs
- TryCatch.cs
- ChtmlPageAdapter.cs
- IsolatedStorageFileStream.cs
- SafeNativeMethodsOther.cs
- CTreeGenerator.cs
- EncoderFallback.cs
- ScrollEvent.cs
- Span.cs
- BindStream.cs
- DescendantOverDescendantQuery.cs
- SqlRewriteScalarSubqueries.cs
- EncodingStreamWrapper.cs
- UInt64Converter.cs
- Form.cs
- PointValueSerializer.cs
- DataGridLinkButton.cs
- CombinedGeometry.cs
- DataGridCellInfo.cs
- DLinqDataModelProvider.cs
- WebPartEditorCancelVerb.cs
- Action.cs
- Compiler.cs
- PolicyReader.cs
- Function.cs
- RootAction.cs
- WindowsNonControl.cs
- _ListenerRequestStream.cs
- CategoryNameCollection.cs
- SqlAggregateChecker.cs
- SpecialNameAttribute.cs
- WSSecurityOneDotZeroSendSecurityHeader.cs
- ReadOnlyHierarchicalDataSource.cs
- ViewBase.cs
- TextElementCollectionHelper.cs
- DataGridHeadersVisibilityToVisibilityConverter.cs
- ErrorTableItemStyle.cs
- ProtectedConfigurationSection.cs
- BitmapCodecInfo.cs
- WindowsFormsLinkLabel.cs
- ReadOnlyDictionary.cs
- BindingEntityInfo.cs
- CustomPopupPlacement.cs
- RowToFieldTransformer.cs
- PreloadedPackages.cs
- CursorConverter.cs
- TextBox.cs
- DataViewManagerListItemTypeDescriptor.cs
- IIS7WorkerRequest.cs
- LinqDataSourceInsertEventArgs.cs
- IProducerConsumerCollection.cs
- ProfileGroupSettings.cs
- XmlBoundElement.cs
- HMACSHA1.cs
- GeneralTransformGroup.cs
- HtmlControl.cs
- XmlSchemaElement.cs
- SqlUDTStorage.cs
- DataSourceCache.cs
- PrivateFontCollection.cs
- ValidatorUtils.cs
- CustomError.cs
- GeneralTransform3DCollection.cs
- PeerApplicationLaunchInfo.cs
- XmlSchemaAnyAttribute.cs
- DesignSurfaceEvent.cs
- sqlstateclientmanager.cs
- NavigatorOutput.cs
- PolicyStatement.cs
- DataGridViewComboBoxColumn.cs
- MultilineStringConverter.cs
- DataSourceSelectArguments.cs
- GlyphRun.cs
- XmlEntity.cs
- EncoderExceptionFallback.cs
- ScopelessEnumAttribute.cs
- IncrementalCompileAnalyzer.cs
- UnionExpr.cs
- DataGridViewCellStateChangedEventArgs.cs
- ManagedFilter.cs
- SpotLight.cs