Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / ndp / fx / src / Data / Microsoft / SqlServer / Server / SmiEventStream.cs / 1 / 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
- CodeTypeParameterCollection.cs
- COMException.cs
- SymLanguageVendor.cs
- DummyDataSource.cs
- RequestQueue.cs
- Maps.cs
- TextOnlyOutput.cs
- Brush.cs
- SiteMapDataSource.cs
- ProcessProtocolHandler.cs
- DataGridViewBand.cs
- ListControlBoundActionList.cs
- XslCompiledTransform.cs
- KeyedQueue.cs
- RubberbandSelector.cs
- WriterOutput.cs
- Bidi.cs
- MessageEncoder.cs
- PerformanceCounterNameAttribute.cs
- UnrecognizedAssertionsBindingElement.cs
- LineSegment.cs
- PasswordDeriveBytes.cs
- SendOperation.cs
- SafeNativeMethods.cs
- PresentationSource.cs
- LabelLiteral.cs
- IgnorePropertiesAttribute.cs
- WebServiceData.cs
- WebDescriptionAttribute.cs
- SamlEvidence.cs
- FontUnitConverter.cs
- GroupQuery.cs
- ContentPlaceHolder.cs
- DelimitedListTraceListener.cs
- DataView.cs
- QilExpression.cs
- ToolStripScrollButton.cs
- SyndicationDeserializer.cs
- Unit.cs
- Variable.cs
- ManagementNamedValueCollection.cs
- TraceSection.cs
- ValidatedControlConverter.cs
- SoapProtocolReflector.cs
- XslAstAnalyzer.cs
- DataControlImageButton.cs
- MachineSettingsSection.cs
- StyleSelector.cs
- QilXmlWriter.cs
- EventLogPermissionEntry.cs
- RowToParametersTransformer.cs
- DataGridViewSelectedColumnCollection.cs
- SystemIdentity.cs
- StringConcat.cs
- PreviewPageInfo.cs
- GacUtil.cs
- TypeConstant.cs
- TabControlEvent.cs
- TreeNode.cs
- DesignerDataParameter.cs
- NodeCounter.cs
- Transform.cs
- RecognizerInfo.cs
- ToolboxDataAttribute.cs
- TextElement.cs
- AnnotationComponentManager.cs
- InternalConfigSettingsFactory.cs
- InstanceCreationEditor.cs
- ConvertEvent.cs
- CompiledQueryCacheEntry.cs
- XmlDocumentType.cs
- ListBoxItemAutomationPeer.cs
- ECDsa.cs
- SqlClientMetaDataCollectionNames.cs
- JsonDeserializer.cs
- TimelineClockCollection.cs
- LinkAreaEditor.cs
- EmbeddedObject.cs
- EmptyEnumerator.cs
- WorkflowServiceHost.cs
- DataSourceCacheDurationConverter.cs
- TranslateTransform3D.cs
- DataRow.cs
- CollectionDataContract.cs
- Geometry3D.cs
- DataObjectSettingDataEventArgs.cs
- PopupEventArgs.cs
- InvariantComparer.cs
- IntegerValidatorAttribute.cs
- StatusBarPanel.cs
- WindowsTitleBar.cs
- GetMemberBinder.cs
- TagPrefixCollection.cs
- TemplateField.cs
- DBSqlParser.cs
- TraceFilter.cs
- OutgoingWebResponseContext.cs
- PriorityBindingExpression.cs
- ConfigPathUtility.cs
- EmbeddedMailObjectsCollection.cs