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
- Activation.cs
- ArrayTypeMismatchException.cs
- ToolStripCodeDomSerializer.cs
- SelectionUIService.cs
- EncoderExceptionFallback.cs
- ActionItem.cs
- ThreadInterruptedException.cs
- _AutoWebProxyScriptEngine.cs
- EventMappingSettings.cs
- MsmqIntegrationAppDomainProtocolHandler.cs
- ResourceReader.cs
- DtrList.cs
- StylusPointProperty.cs
- Thumb.cs
- FlowPosition.cs
- MimeParameters.cs
- filewebresponse.cs
- DictionaryEntry.cs
- DataObject.cs
- DBBindings.cs
- DrawTreeNodeEventArgs.cs
- SettingsPropertyIsReadOnlyException.cs
- FlowDocumentScrollViewerAutomationPeer.cs
- DataGridViewButtonColumn.cs
- MiniAssembly.cs
- CommandManager.cs
- CryptographicAttribute.cs
- WeakReference.cs
- CompilationUtil.cs
- ThemeableAttribute.cs
- DataBinding.cs
- ObjectQueryProvider.cs
- CSharpCodeProvider.cs
- Input.cs
- TextEditorTyping.cs
- ConfigXmlText.cs
- ellipse.cs
- SortDescription.cs
- CompilationRelaxations.cs
- SoapFormatExtensions.cs
- PriorityQueue.cs
- CacheHelper.cs
- WriterOutput.cs
- ConvertEvent.cs
- TypedServiceOperationListItem.cs
- UIntPtr.cs
- cookie.cs
- OdbcEnvironmentHandle.cs
- EditModeSwitchButton.cs
- ConstraintEnumerator.cs
- SQLByte.cs
- DrawingBrush.cs
- ColumnMapCopier.cs
- FormsAuthenticationEventArgs.cs
- IDispatchConstantAttribute.cs
- SocketCache.cs
- XmlExtensionFunction.cs
- PointHitTestParameters.cs
- RoutedEventArgs.cs
- Cursors.cs
- RegexTree.cs
- Color.cs
- ManipulationBoundaryFeedbackEventArgs.cs
- BitmapEffect.cs
- RayMeshGeometry3DHitTestResult.cs
- Deflater.cs
- PeerApplication.cs
- SpecularMaterial.cs
- SingleKeyFrameCollection.cs
- CodePageEncoding.cs
- panel.cs
- Signature.cs
- MenuEventArgs.cs
- InternalConfigHost.cs
- TransformerInfoCollection.cs
- XsltArgumentList.cs
- PathFigure.cs
- SecurityDocument.cs
- XmlSigningNodeWriter.cs
- BamlTreeMap.cs
- ViewCellRelation.cs
- Geometry.cs
- MediaSystem.cs
- FormatConvertedBitmap.cs
- ManualResetEvent.cs
- DecimalConstantAttribute.cs
- ProbeMatchesMessageCD1.cs
- VectorKeyFrameCollection.cs
- ShapeTypeface.cs
- SelectionRange.cs
- TextEffect.cs
- ServiceTimeoutsElement.cs
- QilReference.cs
- MetadataPropertyCollection.cs
- HtmlTableRowCollection.cs
- CellQuery.cs
- StringResourceManager.cs
- TreeView.cs
- SecurityState.cs
- NonBatchDirectoryCompiler.cs