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
- OpenTypeCommon.cs
- TagPrefixAttribute.cs
- PageThemeParser.cs
- FormViewInsertEventArgs.cs
- ContractCodeDomInfo.cs
- ByteAnimation.cs
- WebServiceErrorEvent.cs
- WindowsNonControl.cs
- HuffmanTree.cs
- CodeParameterDeclarationExpression.cs
- TraceHandlerErrorFormatter.cs
- TargetConverter.cs
- LocationUpdates.cs
- MaterialCollection.cs
- SystemUdpStatistics.cs
- FilteredXmlReader.cs
- EntityTypeEmitter.cs
- WpfGeneratedKnownProperties.cs
- DbConnectionClosed.cs
- BinHexDecoder.cs
- BasicViewGenerator.cs
- SystemWebExtensionsSectionGroup.cs
- BrushConverter.cs
- EntityDesignerBuildProvider.cs
- Perspective.cs
- SequenceDesigner.cs
- HtmlTableRowCollection.cs
- FamilyCollection.cs
- ECDsaCng.cs
- InvalidDataException.cs
- COM2IPerPropertyBrowsingHandler.cs
- DataGridPageChangedEventArgs.cs
- VersionedStream.cs
- IPAddress.cs
- ListViewTableCell.cs
- Line.cs
- Inline.cs
- MonthCalendar.cs
- AnnotationComponentChooser.cs
- FileIOPermission.cs
- RelationshipEndMember.cs
- Lasso.cs
- Rotation3DKeyFrameCollection.cs
- BrushMappingModeValidation.cs
- IODescriptionAttribute.cs
- EncryptedPackageFilter.cs
- SqlReferenceCollection.cs
- IPEndPoint.cs
- PreloadHost.cs
- OleDbRowUpdatingEvent.cs
- AttachedAnnotationChangedEventArgs.cs
- InvalidComObjectException.cs
- MessageAction.cs
- XmlWriterSettings.cs
- CompilerLocalReference.cs
- UpdateException.cs
- VarInfo.cs
- TabletCollection.cs
- PathSegmentCollection.cs
- HttpClientCertificate.cs
- InstanceValue.cs
- MinMaxParagraphWidth.cs
- XAMLParseException.cs
- MergePropertyDescriptor.cs
- ResourceContainerWrapper.cs
- FontWeights.cs
- PingOptions.cs
- ContentHostHelper.cs
- XmlToDatasetMap.cs
- BasePropertyDescriptor.cs
- DependencyObjectPropertyDescriptor.cs
- ProviderCommandInfoUtils.cs
- NativeRecognizer.cs
- TemplatePagerField.cs
- oledbmetadatacolumnnames.cs
- BooleanAnimationBase.cs
- smtpconnection.cs
- BehaviorEditorPart.cs
- PrintDialog.cs
- Model3D.cs
- UnsafeCollabNativeMethods.cs
- EventTrigger.cs
- WsdlServiceChannelBuilder.cs
- PenLineCapValidation.cs
- InfiniteIntConverter.cs
- TrustManagerMoreInformation.cs
- SSmlParser.cs
- serverconfig.cs
- ParseElement.cs
- TransformationRules.cs
- GradientBrush.cs
- ListViewEditEventArgs.cs
- UInt64Converter.cs
- XmlUnspecifiedAttribute.cs
- ListViewItemMouseHoverEvent.cs
- FilteredAttributeCollection.cs
- DataGridViewColumnHeaderCell.cs
- FileLogRecordStream.cs
- EdmSchemaAttribute.cs
- ToolStripDropDownClosingEventArgs.cs