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
- Asn1IntegerConverter.cs
- ToolStripRendererSwitcher.cs
- SamlAttribute.cs
- MessageEnumerator.cs
- RuntimeArgumentHandle.cs
- SHA256.cs
- MatrixTransform.cs
- columnmapkeybuilder.cs
- SQLDateTime.cs
- formatter.cs
- DataGridViewButtonCell.cs
- XDeferredAxisSource.cs
- KeyPullup.cs
- TypefaceMetricsCache.cs
- SettingsProviderCollection.cs
- DataContractJsonSerializerOperationBehavior.cs
- DeferrableContentConverter.cs
- ContextBase.cs
- SqlStatistics.cs
- TextTreeDeleteContentUndoUnit.cs
- TextReader.cs
- Propagator.cs
- CorrelationKeyCalculator.cs
- EntityFrameworkVersions.cs
- FtpWebRequest.cs
- X509ChainElement.cs
- ExpandedWrapper.cs
- UnmanagedMemoryStreamWrapper.cs
- HierarchicalDataSourceIDConverter.cs
- ErrorTableItemStyle.cs
- sortedlist.cs
- NativeActivity.cs
- DataServices.cs
- WindowsNonControl.cs
- ItemPager.cs
- AmbientValueAttribute.cs
- SafeLocalAllocation.cs
- EventManager.cs
- SoapMessage.cs
- TemplateControlBuildProvider.cs
- LinqDataSourceInsertEventArgs.cs
- SortDescriptionCollection.cs
- MethodExpr.cs
- VirtualizingStackPanel.cs
- RecordConverter.cs
- AppDomainEvidenceFactory.cs
- UserControl.cs
- RemotingConfiguration.cs
- BitmapEffect.cs
- IpcChannelHelper.cs
- DataServiceStreamResponse.cs
- TraceHandlerErrorFormatter.cs
- ToolStripSystemRenderer.cs
- GridViewAutomationPeer.cs
- ProcessThreadCollection.cs
- TextBoxBase.cs
- NetCodeGroup.cs
- IApplicationTrustManager.cs
- CatalogZoneBase.cs
- CustomValidator.cs
- SQLMoney.cs
- Command.cs
- CornerRadius.cs
- RecordManager.cs
- StrokeNode.cs
- ServiceBusyException.cs
- IdentityVerifier.cs
- GrammarBuilderDictation.cs
- PathFigureCollectionConverter.cs
- NavigationFailedEventArgs.cs
- SQLBytesStorage.cs
- InProcStateClientManager.cs
- SqlDataReader.cs
- Message.cs
- BypassElementCollection.cs
- Setter.cs
- SizeValueSerializer.cs
- MinMaxParagraphWidth.cs
- WebPartTransformerCollection.cs
- RuleDefinitions.cs
- DatePicker.cs
- _SSPISessionCache.cs
- WorkflowInstanceExtensionProvider.cs
- ExecutedRoutedEventArgs.cs
- DefaultParameterValueAttribute.cs
- TextEditorTables.cs
- CompilerScope.cs
- DataGridViewImageColumn.cs
- GeneralTransform3DTo2D.cs
- NumericExpr.cs
- InfoCardPolicy.cs
- Attributes.cs
- WindowsStatusBar.cs
- XPathPatternBuilder.cs
- FullTrustAssembliesSection.cs
- DesignerAdRotatorAdapter.cs
- ListViewItemCollectionEditor.cs
- SelectorItemAutomationPeer.cs
- HttpApplicationFactory.cs
- CompositeActivityTypeDescriptor.cs