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
- FloatUtil.cs
- AdapterUtil.cs
- SafeTimerHandle.cs
- SspiSecurityTokenProvider.cs
- InstanceLockLostException.cs
- CodeAttachEventStatement.cs
- OleDbConnectionFactory.cs
- _FtpDataStream.cs
- WebPartVerb.cs
- WebPartTracker.cs
- InvokePattern.cs
- TransactionContextValidator.cs
- AutoGeneratedFieldProperties.cs
- SafeRightsManagementQueryHandle.cs
- TemplateField.cs
- ModelFactory.cs
- WindowManager.cs
- XmlArrayItemAttribute.cs
- CodeTypeReferenceExpression.cs
- SemaphoreSecurity.cs
- OdbcConnectionOpen.cs
- DataReaderContainer.cs
- DefaultHttpHandler.cs
- StrongTypingException.cs
- UICuesEvent.cs
- DynamicRendererThreadManager.cs
- RenderDataDrawingContext.cs
- EpmSyndicationContentSerializer.cs
- TreeViewAutomationPeer.cs
- SqlDataSourceCache.cs
- OdbcConnectionStringbuilder.cs
- NullableLongSumAggregationOperator.cs
- NamedPipeAppDomainProtocolHandler.cs
- SessionStateUtil.cs
- CodeIterationStatement.cs
- HtmlTableCellCollection.cs
- cookie.cs
- DoubleAnimationUsingKeyFrames.cs
- DSASignatureDeformatter.cs
- OrderedHashRepartitionStream.cs
- SecurityDocument.cs
- InstancePersistenceEvent.cs
- ProxyWebPart.cs
- XmlDomTextWriter.cs
- XPathAxisIterator.cs
- ClientApiGenerator.cs
- AssociationTypeEmitter.cs
- QilReference.cs
- SectionRecord.cs
- ToolBarButtonClickEvent.cs
- DataGridLinkButton.cs
- SizeFConverter.cs
- KeySpline.cs
- PointCollectionValueSerializer.cs
- FontNamesConverter.cs
- COM2TypeInfoProcessor.cs
- DataGridViewTextBoxCell.cs
- PropertyEntry.cs
- thaishape.cs
- BaseInfoTable.cs
- RijndaelCryptoServiceProvider.cs
- UseAttributeSetsAction.cs
- XamlVector3DCollectionSerializer.cs
- pingexception.cs
- ContentPlaceHolderDesigner.cs
- XPathNode.cs
- XamlDesignerSerializationManager.cs
- ConfigXmlElement.cs
- DiscardableAttribute.cs
- BindingContext.cs
- SrgsRulesCollection.cs
- EventWaitHandleSecurity.cs
- GroupItemAutomationPeer.cs
- MappingException.cs
- ExpressionBuilderContext.cs
- FollowerQueueCreator.cs
- ConfigurationManagerInternal.cs
- UInt32.cs
- StateBag.cs
- DerivedKeySecurityToken.cs
- RequiredFieldValidator.cs
- SmtpFailedRecipientException.cs
- HandledEventArgs.cs
- SystemInfo.cs
- DefaultSettingsSection.cs
- EntityClassGenerator.cs
- CachedBitmap.cs
- TreeViewEvent.cs
- SqlProviderManifest.cs
- TextDecoration.cs
- DataControlImageButton.cs
- DatagridviewDisplayedBandsData.cs
- IOException.cs
- Section.cs
- Transform.cs
- SqlNotificationRequest.cs
- NetworkInformationException.cs
- WorkflowQueue.cs
- CultureTableRecord.cs
- PixelShader.cs