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
- SparseMemoryStream.cs
- BindingManagerDataErrorEventArgs.cs
- EventDescriptor.cs
- SettingsPropertyIsReadOnlyException.cs
- MatrixCamera.cs
- DrawToolTipEventArgs.cs
- cookie.cs
- SqlClientPermission.cs
- Stroke.cs
- DataGridViewRowHeightInfoNeededEventArgs.cs
- SqlDataSourceWizardForm.cs
- PointAnimationClockResource.cs
- DocumentSchemaValidator.cs
- TaskFileService.cs
- GC.cs
- VisualBrush.cs
- ModifierKeysValueSerializer.cs
- ADMembershipUser.cs
- SortDescription.cs
- CompiledIdentityConstraint.cs
- CompModSwitches.cs
- SetStateEventArgs.cs
- PhysicalAddress.cs
- WebRequestModulesSection.cs
- CallbackValidatorAttribute.cs
- CompressEmulationStream.cs
- ExecutedRoutedEventArgs.cs
- TripleDESCryptoServiceProvider.cs
- SqlCommandSet.cs
- WebEventTraceProvider.cs
- ActiveXHelper.cs
- OdbcHandle.cs
- NamespaceInfo.cs
- ScriptControl.cs
- XmlILOptimizerVisitor.cs
- ObjectManager.cs
- DataGridRelationshipRow.cs
- DesignerAttribute.cs
- FlowchartStart.xaml.cs
- ResourceLoader.cs
- PathTooLongException.cs
- SystemColors.cs
- ALinqExpressionVisitor.cs
- __Filters.cs
- ValidatorCompatibilityHelper.cs
- CompensatableSequenceActivity.cs
- RectangleF.cs
- ThreadSafeList.cs
- JavascriptCallbackResponseProperty.cs
- WorkflowPrinting.cs
- ManifestSignedXml.cs
- SingleAnimationUsingKeyFrames.cs
- AccessText.cs
- TextPenaltyModule.cs
- BindingContext.cs
- VisualTreeHelper.cs
- OracleConnectionFactory.cs
- ApplicationHost.cs
- RowTypeElement.cs
- HandleCollector.cs
- PostBackOptions.cs
- OpenTypeCommon.cs
- XmlSchemaIdentityConstraint.cs
- FocusWithinProperty.cs
- ReadWriteSpinLock.cs
- SchemaExporter.cs
- GlobalizationSection.cs
- MenuTracker.cs
- XmlConvert.cs
- SerializationException.cs
- XPathBinder.cs
- RelationshipConverter.cs
- CodeDirectiveCollection.cs
- WebServiceClientProxyGenerator.cs
- FontStyleConverter.cs
- SimpleTypeResolver.cs
- AttributeCollection.cs
- XsdBuildProvider.cs
- storepermissionattribute.cs
- mediaeventshelper.cs
- PersonalizationStateInfoCollection.cs
- DynamicObject.cs
- BrowserTree.cs
- Border.cs
- TextTreeFixupNode.cs
- Typography.cs
- ExpressionParser.cs
- JpegBitmapEncoder.cs
- TextTreePropertyUndoUnit.cs
- PkcsUtils.cs
- RawMouseInputReport.cs
- XPathExpr.cs
- ZipPackage.cs
- BitStream.cs
- ResXResourceReader.cs
- XPathQilFactory.cs
- GridView.cs
- SpeechRecognitionEngine.cs
- _BasicClient.cs
- TagPrefixInfo.cs