Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- RemoteArgument.cs
- Header.cs
- RectangleGeometry.cs
- Canvas.cs
- ChtmlMobileTextWriter.cs
- ValidationError.cs
- DependencyObjectProvider.cs
- WindowsTreeView.cs
- HighContrastHelper.cs
- XmlSchemaObject.cs
- Transform.cs
- BridgeDataRecord.cs
- UInt32.cs
- ObjectViewQueryResultData.cs
- DataPagerField.cs
- HandlerBase.cs
- StylusButtonEventArgs.cs
- SplayTreeNode.cs
- ExpressionCopier.cs
- ProvidersHelper.cs
- ScriptBehaviorDescriptor.cs
- DataPagerFieldCollection.cs
- JpegBitmapEncoder.cs
- FramingDecoders.cs
- SystemIPGlobalProperties.cs
- DurableInstanceManager.cs
- PersistenceProviderDirectory.cs
- EntityDataSourceViewSchema.cs
- ContainerParaClient.cs
- RequestCachePolicy.cs
- ObjectContextServiceProvider.cs
- DynamicValidatorEventArgs.cs
- RayHitTestParameters.cs
- Msec.cs
- TextServicesManager.cs
- BindingCompleteEventArgs.cs
- ipaddressinformationcollection.cs
- OdbcError.cs
- KoreanCalendar.cs
- GraphicsContext.cs
- EdmProperty.cs
- ResourceWriter.cs
- SqlRecordBuffer.cs
- Site.cs
- TraceHandlerErrorFormatter.cs
- WorkflowTimerService.cs
- HotSpot.cs
- AdornerDecorator.cs
- StyleBamlRecordReader.cs
- InstanceLockQueryResult.cs
- MetaType.cs
- DesignRelationCollection.cs
- WinEventTracker.cs
- PasswordRecovery.cs
- Lasso.cs
- KnownIds.cs
- IncrementalCompileAnalyzer.cs
- Classification.cs
- PaintEvent.cs
- DefaultValidator.cs
- PackagePart.cs
- CodeLabeledStatement.cs
- ScrollItemPattern.cs
- RefreshEventArgs.cs
- SystemIPv4InterfaceProperties.cs
- AttributeCollection.cs
- DataGridViewRowErrorTextNeededEventArgs.cs
- embossbitmapeffect.cs
- querybuilder.cs
- TextRangeBase.cs
- SafeNativeHandle.cs
- XslNumber.cs
- DebuggerAttributes.cs
- TreeNodeCollection.cs
- AssemblyHash.cs
- ValueUtilsSmi.cs
- DomainUpDown.cs
- ResXResourceReader.cs
- CollectionViewGroupRoot.cs
- RemotingSurrogateSelector.cs
- RangeContentEnumerator.cs
- StandardBindingElement.cs
- IriParsingElement.cs
- WebContext.cs
- SerializerProvider.cs
- XmlUtil.cs
- CacheOutputQuery.cs
- FloaterParaClient.cs
- HealthMonitoringSectionHelper.cs
- PropertiesTab.cs
- CapabilitiesAssignment.cs
- ThreadPool.cs
- RequestContext.cs
- CapabilitiesSection.cs
- DesignerContextDescriptor.cs
- SrgsSemanticInterpretationTag.cs
- Stylesheet.cs
- PageContentAsyncResult.cs
- DeferredReference.cs
- PersonalizablePropertyEntry.cs