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
- HttpApplicationFactory.cs
- EtwTrace.cs
- ResourceProviderFactory.cs
- EncodingNLS.cs
- XmlNodeComparer.cs
- WebBrowser.cs
- NativeStructs.cs
- SqlPersonalizationProvider.cs
- Message.cs
- UpdateTranslator.cs
- NativeMethods.cs
- EditorZone.cs
- BaseHashHelper.cs
- Stroke.cs
- RowBinding.cs
- TextTreeRootTextBlock.cs
- Literal.cs
- DataTableNewRowEvent.cs
- columnmapfactory.cs
- BinaryObjectReader.cs
- ArraySegment.cs
- HistoryEventArgs.cs
- SerialErrors.cs
- DataSvcMapFileSerializer.cs
- EditorServiceContext.cs
- XmlDomTextWriter.cs
- Sql8ExpressionRewriter.cs
- XmlHierarchicalDataSourceView.cs
- SmtpCommands.cs
- DataSysAttribute.cs
- XXXInfos.cs
- PageThemeCodeDomTreeGenerator.cs
- __ConsoleStream.cs
- ResourceSet.cs
- PageParser.cs
- StoragePropertyMapping.cs
- StructuredTypeEmitter.cs
- AppDomainFactory.cs
- TriggerActionCollection.cs
- ProxyRpc.cs
- ToolStripItemGlyph.cs
- MenuScrollingVisibilityConverter.cs
- HttpAsyncResult.cs
- RadioButtonPopupAdapter.cs
- FlowDocumentPaginator.cs
- TargetConverter.cs
- GeneratedCodeAttribute.cs
- HttpHeaderCollection.cs
- ServiceDescriptionImporter.cs
- PrimitiveOperationFormatter.cs
- WebBrowserProgressChangedEventHandler.cs
- shaperfactoryquerycacheentry.cs
- DeobfuscatingStream.cs
- AtlasWeb.Designer.cs
- SmtpTransport.cs
- x509utils.cs
- EncoderBestFitFallback.cs
- AssemblyCache.cs
- StructuralType.cs
- BamlReader.cs
- Update.cs
- KerberosTicketHashIdentifierClause.cs
- BamlLocalizabilityResolver.cs
- Rect.cs
- PickDesigner.xaml.cs
- TableItemStyle.cs
- DefaultHttpHandler.cs
- RequestQueryParser.cs
- OdbcTransaction.cs
- XmlSchemaSimpleContent.cs
- WorkflowApplicationAbortedException.cs
- Msmq4SubqueuePoisonHandler.cs
- ScrollBarRenderer.cs
- XPathItem.cs
- DotExpr.cs
- CellTreeNodeVisitors.cs
- ConnectionStringsSection.cs
- AlphabetConverter.cs
- TypeUtil.cs
- HtmlTableRowCollection.cs
- QueryReaderSettings.cs
- CaseInsensitiveComparer.cs
- SamlAttribute.cs
- BinaryObjectWriter.cs
- AttachInfo.cs
- CollectionViewGroupInternal.cs
- XmlSchemaRedefine.cs
- IPAddress.cs
- XmlStringTable.cs
- CacheVirtualItemsEvent.cs
- MailMessage.cs
- SelectorItemAutomationPeer.cs
- SQLInt64.cs
- Cursor.cs
- XPathNodeIterator.cs
- XmlFileEditor.cs
- RawStylusInput.cs
- GeneralTransform3DTo2DTo3D.cs
- itemelement.cs
- AssemblyHash.cs