Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / 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.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- unsafenativemethodstextservices.cs
- LoadedEvent.cs
- ShapingWorkspace.cs
- Frame.cs
- bindurihelper.cs
- XPathMultyIterator.cs
- GestureRecognizer.cs
- SurrogateEncoder.cs
- ConfigurationSectionGroup.cs
- PageWrapper.cs
- safesecurityhelperavalon.cs
- ReferencedAssemblyResolver.cs
- Nullable.cs
- UriTemplateCompoundPathSegment.cs
- BuilderInfo.cs
- StylusButtonCollection.cs
- XmlProcessingInstruction.cs
- LookupBindingPropertiesAttribute.cs
- ObjectDataSource.cs
- XDRSchema.cs
- PersistenceTypeAttribute.cs
- XsltOutput.cs
- NumberSubstitution.cs
- Exception.cs
- ListSortDescriptionCollection.cs
- TargetParameterCountException.cs
- SurrogateSelector.cs
- FontNamesConverter.cs
- _AutoWebProxyScriptWrapper.cs
- Subtree.cs
- XhtmlBasicLinkAdapter.cs
- Rectangle.cs
- Material.cs
- TypeValidationEventArgs.cs
- ContainerParagraph.cs
- WebConfigurationFileMap.cs
- AspNetSynchronizationContext.cs
- ProtectedProviderSettings.cs
- PrintDialog.cs
- HwndTarget.cs
- ResolveCriteriaApril2005.cs
- NameValueCollection.cs
- CategoryNameCollection.cs
- DataFormats.cs
- GrammarBuilderWildcard.cs
- ParallelQuery.cs
- InputQueue.cs
- JoinGraph.cs
- Enum.cs
- DocumentViewerBaseAutomationPeer.cs
- EUCJPEncoding.cs
- DrawingAttributeSerializer.cs
- ResolveRequestResponseAsyncResult.cs
- DynamicActivityXamlReader.cs
- PerformanceCounterManager.cs
- ValidatingPropertiesEventArgs.cs
- XmlNodeList.cs
- SendParametersContent.cs
- GridViewDesigner.cs
- SoundPlayer.cs
- TreeBuilder.cs
- OleServicesContext.cs
- DataKey.cs
- InvokeWebService.cs
- ViewService.cs
- VisualStyleElement.cs
- WindowsIdentity.cs
- SqlClientFactory.cs
- ScrollPattern.cs
- UrlAuthorizationModule.cs
- DesignerProperties.cs
- DoubleKeyFrameCollection.cs
- Int32Storage.cs
- NativeMethods.cs
- ControlTemplate.cs
- ServiceDescriptionImporter.cs
- BackoffTimeoutHelper.cs
- ListMarkerSourceInfo.cs
- Button.cs
- Query.cs
- CheckBoxBaseAdapter.cs
- RenderData.cs
- NativeWindow.cs
- GAC.cs
- EmbeddedMailObjectsCollection.cs
- ActivityInfo.cs
- AutoFocusStyle.xaml.cs
- SqlXml.cs
- ListBoxItemWrapperAutomationPeer.cs
- CursorConverter.cs
- ViewStateModeByIdAttribute.cs
- SourceElementsCollection.cs
- BitmapEffectGeneralTransform.cs
- SerializationInfoEnumerator.cs
- _ContextAwareResult.cs
- XPathNavigator.cs
- UrlParameterWriter.cs
- StrokeIntersection.cs
- HostProtectionException.cs
- GridViewHeaderRowPresenter.cs