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
- FixedSOMSemanticBox.cs
- ObjectKeyFrameCollection.cs
- BamlBinaryReader.cs
- DiagnosticSection.cs
- TracingConnection.cs
- ClientConfigurationHost.cs
- HwndSubclass.cs
- VisualStyleTypesAndProperties.cs
- DataListCommandEventArgs.cs
- AppSettingsExpressionBuilder.cs
- GeometryModel3D.cs
- WebPartCatalogCloseVerb.cs
- ServiceObjectContainer.cs
- ClaimComparer.cs
- DataGridViewColumnConverter.cs
- DiscriminatorMap.cs
- IUnknownConstantAttribute.cs
- Resources.Designer.cs
- WebPartManager.cs
- FacetEnabledSchemaElement.cs
- TextDecorationLocationValidation.cs
- WebSysDefaultValueAttribute.cs
- ComplusEndpointConfigContainer.cs
- TextEditorCopyPaste.cs
- TimeEnumHelper.cs
- FormattedTextSymbols.cs
- GetCertificateRequest.cs
- RNGCryptoServiceProvider.cs
- ToolStripDropDownItem.cs
- ExceptionHandlersDesigner.cs
- DataGridViewRowPostPaintEventArgs.cs
- ReachSerializer.cs
- AsymmetricSignatureDeformatter.cs
- EntityDataSourceChangedEventArgs.cs
- RangeEnumerable.cs
- DrawTreeNodeEventArgs.cs
- IdentifierService.cs
- TreeWalkHelper.cs
- FloaterParagraph.cs
- ClockGroup.cs
- SingleObjectCollection.cs
- SrgsGrammar.cs
- NameTable.cs
- FakeModelPropertyImpl.cs
- XamlWriterExtensions.cs
- KeyValuePair.cs
- PersonalizablePropertyEntry.cs
- WebPartCloseVerb.cs
- OdbcException.cs
- PathGeometry.cs
- ParameterCollection.cs
- DetailsViewInsertEventArgs.cs
- ByteStorage.cs
- ProcessHost.cs
- BaseConfigurationRecord.cs
- TypeBrowserDialog.cs
- XmlIgnoreAttribute.cs
- DetailsViewInsertEventArgs.cs
- DeviceFiltersSection.cs
- DocumentPageHost.cs
- RectangleConverter.cs
- Stylesheet.cs
- FixedTextSelectionProcessor.cs
- _SslStream.cs
- OrderedHashRepartitionEnumerator.cs
- InfoCardKeyedHashAlgorithm.cs
- SHA384Managed.cs
- MethodBuilderInstantiation.cs
- SqlBulkCopyColumnMapping.cs
- GeneralTransform3D.cs
- CanonicalizationDriver.cs
- XamlContextStack.cs
- PropertyGridView.cs
- ErrorHandler.cs
- NonClientArea.cs
- SiteMapPath.cs
- XmlComment.cs
- PasswordRecovery.cs
- CompilerLocalReference.cs
- WaitingCursor.cs
- ImageDrawing.cs
- XmlSchemaGroupRef.cs
- DashStyles.cs
- Package.cs
- XmlComplianceUtil.cs
- XPathNodeInfoAtom.cs
- TemplatedControlDesigner.cs
- SqlServices.cs
- GcSettings.cs
- SendMessageRecord.cs
- FileDataSourceCache.cs
- ColumnCollection.cs
- RecordConverter.cs
- TextSyndicationContentKindHelper.cs
- OleDbDataReader.cs
- PrimitiveXmlSerializers.cs
- ConnectionPoolManager.cs
- DataGridViewRowPrePaintEventArgs.cs
- DbConnectionStringCommon.cs
- InputProcessorProfiles.cs