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
- DefaultAuthorizationContext.cs
- Base64Decoder.cs
- TypedServiceChannelBuilder.cs
- MetadataCache.cs
- ConfigXmlCDataSection.cs
- TextProviderWrapper.cs
- SubMenuStyleCollection.cs
- HttpCapabilitiesSectionHandler.cs
- OrderByQueryOptionExpression.cs
- FederatedMessageSecurityOverHttpElement.cs
- ColumnBinding.cs
- ConfigsHelper.cs
- TypeReference.cs
- AlignmentYValidation.cs
- InfoCardSymmetricAlgorithm.cs
- NotImplementedException.cs
- WsatAdminException.cs
- HMACRIPEMD160.cs
- PEFileReader.cs
- GCHandleCookieTable.cs
- IndexOutOfRangeException.cs
- ShaderEffect.cs
- InvalidComObjectException.cs
- EmulateRecognizeCompletedEventArgs.cs
- TypeListConverter.cs
- Splitter.cs
- ClientEventManager.cs
- XmlSchemaSimpleContent.cs
- SiteMapDataSource.cs
- EntityDataSourceConfigureObjectContext.cs
- CaretElement.cs
- ScriptManagerProxy.cs
- StructuredTypeEmitter.cs
- CreatingCookieEventArgs.cs
- AddIn.cs
- configsystem.cs
- ImpersonateTokenRef.cs
- FormViewDeleteEventArgs.cs
- GenerateScriptTypeAttribute.cs
- SignatureHelper.cs
- SourceFileBuildProvider.cs
- ExtenderProvidedPropertyAttribute.cs
- LocatorBase.cs
- TextDecorationLocationValidation.cs
- ConfigurationConverterBase.cs
- IndexedGlyphRun.cs
- WebPartMenuStyle.cs
- X509CertificateValidator.cs
- EditingCoordinator.cs
- BitSet.cs
- AncestorChangedEventArgs.cs
- CqlErrorHelper.cs
- QuestionEventArgs.cs
- Number.cs
- TraceProvider.cs
- DateTimeParse.cs
- DbConnectionPoolCounters.cs
- StringReader.cs
- httpapplicationstate.cs
- xsdvalidator.cs
- SecondaryIndexDefinition.cs
- SqlServices.cs
- ChannelManager.cs
- DeclarativeCatalogPart.cs
- ELinqQueryState.cs
- TreeNodeStyle.cs
- Timer.cs
- WebPartChrome.cs
- XmlReader.cs
- XmlKeywords.cs
- ClickablePoint.cs
- ForwardPositionQuery.cs
- SID.cs
- translator.cs
- CriticalHandle.cs
- CompilerCollection.cs
- HttpListenerRequest.cs
- StrokeSerializer.cs
- InlineUIContainer.cs
- Style.cs
- FontStyleConverter.cs
- AxParameterData.cs
- ParserExtension.cs
- FlowLayout.cs
- TextAction.cs
- UrlAuthorizationModule.cs
- UserValidatedEventArgs.cs
- XamlPointCollectionSerializer.cs
- HtmlControlPersistable.cs
- AliasedSlot.cs
- HyperLink.cs
- XmlSchemaComplexType.cs
- DefaultAssemblyResolver.cs
- _ListenerResponseStream.cs
- ScrollChrome.cs
- _NegoState.cs
- TraceUtility.cs
- DataGridPreparingCellForEditEventArgs.cs
- SqlCachedBuffer.cs
- ExchangeUtilities.cs