Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Data / Microsoft / SqlServer / Server / SmiEventStream.cs / 1305376 / 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
- Operators.cs
- SplayTreeNode.cs
- ServiceModelEnumValidator.cs
- KoreanLunisolarCalendar.cs
- CodeNamespaceImport.cs
- ObjectContextServiceProvider.cs
- DataRowCollection.cs
- MulticastIPAddressInformationCollection.cs
- PlatformCulture.cs
- SharingService.cs
- XmlILIndex.cs
- WebServiceResponseDesigner.cs
- SecurityException.cs
- XamlWriterExtensions.cs
- ExpressionBuilderContext.cs
- DebuggerService.cs
- FtpRequestCacheValidator.cs
- CategoryNameCollection.cs
- TypefaceCollection.cs
- Formatter.cs
- SafeLocalAllocation.cs
- GacUtil.cs
- SetIterators.cs
- DataGridViewCellConverter.cs
- ExpressionLink.cs
- DataRelationCollection.cs
- SchemaCollectionCompiler.cs
- TextPointerBase.cs
- RegexNode.cs
- MessageProtectionOrder.cs
- MarginsConverter.cs
- RuntimeComponentFilter.cs
- HasCopySemanticsAttribute.cs
- UTF7Encoding.cs
- UrlPath.cs
- WpfWebRequestHelper.cs
- Exception.cs
- ErrorHandler.cs
- ArraySortHelper.cs
- BufferModeSettings.cs
- OleDbReferenceCollection.cs
- TemplateAction.cs
- ContainerParagraph.cs
- TreeViewImageKeyConverter.cs
- FormsAuthenticationConfiguration.cs
- WizardPanel.cs
- TransportSecurityHelpers.cs
- Durable.cs
- OrderedEnumerableRowCollection.cs
- ConfigurationSection.cs
- ControlUtil.cs
- IChannel.cs
- ImageAnimator.cs
- XamlFxTrace.cs
- hwndwrapper.cs
- DataGridViewHeaderCell.cs
- XmlDocumentSerializer.cs
- DelegatedStream.cs
- StylusOverProperty.cs
- ListSourceHelper.cs
- StrongTypingException.cs
- ClusterSafeNativeMethods.cs
- InputBindingCollection.cs
- TextServicesCompartmentEventSink.cs
- DataSourceCache.cs
- SingleStorage.cs
- DtdParser.cs
- ProtocolReflector.cs
- ErrorTableItemStyle.cs
- LineVisual.cs
- XmlSerializerAssemblyAttribute.cs
- SchemaEntity.cs
- Pointer.cs
- ValidationSummary.cs
- WhitespaceRuleReader.cs
- PolyQuadraticBezierSegment.cs
- FormViewCommandEventArgs.cs
- MethodBody.cs
- EntityDataSourceContextCreatingEventArgs.cs
- SafeCoTaskMem.cs
- TypeName.cs
- PerfCounterSection.cs
- DefaultAssemblyResolver.cs
- Typeface.cs
- DataServiceHostFactory.cs
- ErrorWrapper.cs
- DbConnectionPoolOptions.cs
- JavascriptCallbackResponseProperty.cs
- StrongTypingException.cs
- TimelineGroup.cs
- InvocationExpression.cs
- GorillaCodec.cs
- CheckBox.cs
- ApplicationDirectoryMembershipCondition.cs
- SqlNamer.cs
- ParserHooks.cs
- DataSourceSelectArguments.cs
- PropertyIDSet.cs
- ProxyGenerationError.cs
- VirtualizedCellInfoCollection.cs