Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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. // //[....] //[....] //----------------------------------------------------------------------------- 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.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- UpdateCommand.cs
- DefaultSection.cs
- Queue.cs
- BitmapEffectInputConnector.cs
- SafeEventLogReadHandle.cs
- KeyProperty.cs
- DbConnectionPoolOptions.cs
- TemplateControlBuildProvider.cs
- ObjectReaderCompiler.cs
- NamedPermissionSet.cs
- ItemContainerGenerator.cs
- SQLByteStorage.cs
- GeneralTransform3DGroup.cs
- MessageBodyDescription.cs
- ScriptModule.cs
- QuaternionAnimation.cs
- KnownBoxes.cs
- _IPv4Address.cs
- MonitoringDescriptionAttribute.cs
- CreateUserWizardStep.cs
- PrivilegeNotHeldException.cs
- SurrogateEncoder.cs
- EntitySetBase.cs
- RegistryHandle.cs
- CacheDependency.cs
- WebServiceErrorEvent.cs
- HttpModuleCollection.cs
- SqlNamer.cs
- CheckBoxAutomationPeer.cs
- DesignerValidationSummaryAdapter.cs
- _RequestCacheProtocol.cs
- TextLineResult.cs
- RadioButtonList.cs
- ObjectDataSourceDisposingEventArgs.cs
- DecimalAnimation.cs
- WeakKeyDictionary.cs
- AssociatedControlConverter.cs
- OleDbSchemaGuid.cs
- CacheOutputQuery.cs
- CodeTypeOfExpression.cs
- UnsafeNativeMethodsPenimc.cs
- UIElement3DAutomationPeer.cs
- MachineKeyConverter.cs
- View.cs
- DataObjectEventArgs.cs
- PerformanceCounterManager.cs
- NetNamedPipeBindingCollectionElement.cs
- ListControlBuilder.cs
- LongCountAggregationOperator.cs
- ProtocolsConfigurationEntry.cs
- HttpRequestCacheValidator.cs
- Oci.cs
- HttpCapabilitiesBase.cs
- HttpMethodConstraint.cs
- AsyncResult.cs
- FragmentQuery.cs
- GenerateHelper.cs
- xmlglyphRunInfo.cs
- DataGridViewColumnEventArgs.cs
- GridItemPattern.cs
- TransportBindingElement.cs
- streamingZipPartStream.cs
- ProviderUtil.cs
- PersonalizableAttribute.cs
- Point3DAnimation.cs
- Encoder.cs
- dataSvcMapFileLoader.cs
- XmlNullResolver.cs
- FixedSOMContainer.cs
- SqlTopReducer.cs
- DataGridViewSortCompareEventArgs.cs
- ICspAsymmetricAlgorithm.cs
- StatusBarItem.cs
- DataBoundControlDesigner.cs
- TemplatePagerField.cs
- CannotUnloadAppDomainException.cs
- TreeNodeStyleCollectionEditor.cs
- MissingSatelliteAssemblyException.cs
- BuilderPropertyEntry.cs
- InvalidEnumArgumentException.cs
- WebPartDisplayModeCollection.cs
- QueryExtender.cs
- CollectionConverter.cs
- DocumentOrderQuery.cs
- HttpHandlersSection.cs
- HttpCacheParams.cs
- Main.cs
- MessageBox.cs
- RuleSetCollection.cs
- Bidi.cs
- ConsoleKeyInfo.cs
- ConfigurationLocation.cs
- CannotUnloadAppDomainException.cs
- VarRemapper.cs
- WindowsStartMenu.cs
- PersonalizationAdministration.cs
- PenThreadWorker.cs
- IntSecurity.cs
- DataObjectMethodAttribute.cs
- RangeBaseAutomationPeer.cs