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
- ResolveCriteriaApril2005.cs
- Size3DValueSerializer.cs
- InvokeSchedule.cs
- Lasso.cs
- SafeEventLogWriteHandle.cs
- IssuanceLicense.cs
- ListViewItemEventArgs.cs
- RunInstallerAttribute.cs
- ListViewItemEventArgs.cs
- Condition.cs
- TemplateManager.cs
- DataGridColumnHeadersPresenter.cs
- BounceEase.cs
- FixedSOMImage.cs
- ACE.cs
- DynamicILGenerator.cs
- ObjectIDGenerator.cs
- PtsCache.cs
- ObjectConverter.cs
- Converter.cs
- IntPtr.cs
- StackOverflowException.cs
- XsdDataContractExporter.cs
- SafeHandles.cs
- QuaternionKeyFrameCollection.cs
- AncestorChangedEventArgs.cs
- Thread.cs
- ReadonlyMessageFilter.cs
- SlotInfo.cs
- RetrieveVirtualItemEventArgs.cs
- BaseCAMarshaler.cs
- HttpFormatExtensions.cs
- ParameterBinding.cs
- UserPersonalizationStateInfo.cs
- HostSecurityManager.cs
- SqlMethodAttribute.cs
- PagesSection.cs
- RuntimeConfigLKG.cs
- Pool.cs
- RecoverInstanceLocksCommand.cs
- FormatConvertedBitmap.cs
- DesignerActionUIStateChangeEventArgs.cs
- ObjectItemCollection.cs
- MediaTimeline.cs
- ValidatingReaderNodeData.cs
- TextServicesDisplayAttribute.cs
- HostProtectionException.cs
- List.cs
- HtmlLabelAdapter.cs
- AppDomainManager.cs
- StringUtil.cs
- TextRunTypographyProperties.cs
- SocketPermission.cs
- ProxyFragment.cs
- UrlPath.cs
- TextDecorationCollection.cs
- InputBinding.cs
- AliasedExpr.cs
- DrawingGroup.cs
- Win32Native.cs
- Line.cs
- ConnectionStringEditor.cs
- ReferencedAssembly.cs
- FillErrorEventArgs.cs
- ThreadAbortException.cs
- CreateUserWizardStep.cs
- DynamicControlParameter.cs
- Light.cs
- AxDesigner.cs
- Bold.cs
- Vector3DCollectionConverter.cs
- BindingWorker.cs
- PageRequestManager.cs
- QilFunction.cs
- Interfaces.cs
- SemaphoreSlim.cs
- CompilerError.cs
- QueryResponse.cs
- HtmlForm.cs
- SessionEndingCancelEventArgs.cs
- HwndKeyboardInputProvider.cs
- WSHttpBindingBaseElement.cs
- HtmlShim.cs
- SecurityContext.cs
- XmlAttribute.cs
- DESCryptoServiceProvider.cs
- XmlAttributeHolder.cs
- FrameworkObject.cs
- WebPartsPersonalizationAuthorization.cs
- CodeSnippetStatement.cs
- WindowsScrollBar.cs
- Random.cs
- AutoGeneratedFieldProperties.cs
- Codec.cs
- MessageEncoder.cs
- TcpStreams.cs
- DataService.cs
- ColumnResizeUndoUnit.cs
- GC.cs
- LocatorBase.cs