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
- SendKeys.cs
- WebPartChrome.cs
- ZipIORawDataFileBlock.cs
- DataSpaceManager.cs
- HebrewCalendar.cs
- JulianCalendar.cs
- SiteMap.cs
- WindowsSlider.cs
- DataMisalignedException.cs
- HeaderPanel.cs
- ElementFactory.cs
- SuppressMergeCheckAttribute.cs
- Enumerable.cs
- DataReaderContainer.cs
- infer.cs
- ActivationProxy.cs
- SymbolTable.cs
- XmlSchemaRedefine.cs
- LockedActivityGlyph.cs
- ResourcesBuildProvider.cs
- QuaternionAnimation.cs
- LateBoundBitmapDecoder.cs
- ThemeableAttribute.cs
- EncryptedPackage.cs
- SpAudioStreamWrapper.cs
- Object.cs
- HotSpot.cs
- AdvancedBindingPropertyDescriptor.cs
- SqlTransaction.cs
- LocalizeDesigner.cs
- HScrollProperties.cs
- CallbackValidatorAttribute.cs
- PluralizationService.cs
- DocumentViewerBaseAutomationPeer.cs
- BooleanAnimationBase.cs
- ValidatorUtils.cs
- ClientRoleProvider.cs
- TaskResultSetter.cs
- ErrorTableItemStyle.cs
- ISO2022Encoding.cs
- StringWriter.cs
- BitmapFrame.cs
- WebServiceEnumData.cs
- ContainsRowNumberChecker.cs
- DataBindEngine.cs
- IconHelper.cs
- TextSpanModifier.cs
- BulletChrome.cs
- ExpressionBuilder.cs
- ClassDataContract.cs
- XmlElementAttribute.cs
- XmlQualifiedNameTest.cs
- SqlComparer.cs
- UntypedNullExpression.cs
- RichTextBoxAutomationPeer.cs
- Selection.cs
- GetImportedCardRequest.cs
- FileDialogCustomPlace.cs
- ScriptMethodAttribute.cs
- WebPartManager.cs
- XmlObjectSerializerReadContextComplex.cs
- SwitchCase.cs
- InProcStateClientManager.cs
- MaterializeFromAtom.cs
- SourceFileInfo.cs
- Rectangle.cs
- PlaceHolder.cs
- SqlCommandBuilder.cs
- InkCollectionBehavior.cs
- DataGridViewImageColumn.cs
- OutputCache.cs
- ASCIIEncoding.cs
- ListViewInsertEventArgs.cs
- StyleHelper.cs
- ObjectDataSourceMethodEventArgs.cs
- BindingsCollection.cs
- InternalMappingException.cs
- CodeComment.cs
- QilName.cs
- PersonalizationEntry.cs
- VerificationAttribute.cs
- TableParagraph.cs
- CompoundFileDeflateTransform.cs
- FloaterBaseParaClient.cs
- EdmToObjectNamespaceMap.cs
- NamespaceList.cs
- BitmapEffectrendercontext.cs
- COM2EnumConverter.cs
- TransactionScope.cs
- GraphicsContainer.cs
- Stack.cs
- SecurityDocument.cs
- NativeMethods.cs
- ObjectDataSourceView.cs
- EmptyReadOnlyDictionaryInternal.cs
- DoubleLink.cs
- Grid.cs
- DataGridPagerStyle.cs
- DataStreamFromComStream.cs
- CheckableControlBaseAdapter.cs