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
- BulletedListEventArgs.cs
- EdmToObjectNamespaceMap.cs
- CodeGotoStatement.cs
- KeyGesture.cs
- MsmqMessageProperty.cs
- Deflater.cs
- ClientSettingsSection.cs
- ReadWriteSpinLock.cs
- KeyValueConfigurationCollection.cs
- NetworkInterface.cs
- SqlConnectionString.cs
- HotSpotCollection.cs
- SettingsProviderCollection.cs
- _Win32.cs
- DataServiceResponse.cs
- TextBox.cs
- DirectoryGroupQuery.cs
- DockProviderWrapper.cs
- Visual3D.cs
- DebugView.cs
- RadioButtonFlatAdapter.cs
- DbResourceAllocator.cs
- WebExceptionStatus.cs
- InvalidOleVariantTypeException.cs
- LogReserveAndAppendState.cs
- Stopwatch.cs
- SettingsContext.cs
- HiddenFieldPageStatePersister.cs
- TextCompositionEventArgs.cs
- ClientRoleProvider.cs
- CodeSpit.cs
- ConnectionStringsExpressionEditor.cs
- Helpers.cs
- PassportAuthenticationEventArgs.cs
- CatalogPart.cs
- FamilyMapCollection.cs
- AssociationTypeEmitter.cs
- JsonSerializer.cs
- ProviderCollection.cs
- RootDesignerSerializerAttribute.cs
- TimeSpanFormat.cs
- IList.cs
- SafeRightsManagementQueryHandle.cs
- log.cs
- baseshape.cs
- SplineKeyFrames.cs
- TableRow.cs
- StatusBarPanel.cs
- FormsIdentity.cs
- TextAutomationPeer.cs
- StopStoryboard.cs
- XPathNodeList.cs
- XPathNode.cs
- TraceContextRecord.cs
- TextHidden.cs
- ProgressBar.cs
- RuleAction.cs
- EntityDesignerUtils.cs
- XPathNavigatorReader.cs
- IPGlobalProperties.cs
- RetrieveVirtualItemEventArgs.cs
- EntityDataSourceWrapperPropertyDescriptor.cs
- TimeStampChecker.cs
- IChannel.cs
- AspNetHostingPermission.cs
- BitmapFrameDecode.cs
- DeferredRunTextReference.cs
- XmlDocument.cs
- Panel.cs
- SchemaImporter.cs
- RijndaelManaged.cs
- OdbcConnection.cs
- TdsEnums.cs
- LayoutManager.cs
- CodeAttachEventStatement.cs
- StoreAnnotationsMap.cs
- CodeRemoveEventStatement.cs
- RectKeyFrameCollection.cs
- IgnoreDataMemberAttribute.cs
- Thumb.cs
- XmlKeywords.cs
- CodeMemberField.cs
- NativeMethods.cs
- JsonXmlDataContract.cs
- XmlDataLoader.cs
- DbConnectionStringCommon.cs
- Stylus.cs
- ProjectedSlot.cs
- EntityConnection.cs
- DoubleAnimationBase.cs
- DocumentViewerBaseAutomationPeer.cs
- TextSyndicationContentKindHelper.cs
- DesignParameter.cs
- BamlTreeUpdater.cs
- RangeValidator.cs
- Manipulation.cs
- AsymmetricSignatureFormatter.cs
- DataGridViewSortCompareEventArgs.cs
- ReadingWritingEntityEventArgs.cs
- ListControlBuilder.cs