Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- IndividualDeviceConfig.cs
- ObjectTypeMapping.cs
- Decorator.cs
- TemplateApplicationHelper.cs
- WriteableBitmap.cs
- TagPrefixCollection.cs
- DisplayNameAttribute.cs
- ContractMapping.cs
- GridViewHeaderRowPresenter.cs
- CaseInsensitiveComparer.cs
- SimpleTypeResolver.cs
- Helpers.cs
- ModelServiceImpl.cs
- ParameterToken.cs
- CustomTypeDescriptor.cs
- WorkBatch.cs
- TrackingServices.cs
- TypeForwardedToAttribute.cs
- ItemsPanelTemplate.cs
- ServiceTimeoutsElement.cs
- SqlGatherProducedAliases.cs
- DependencyPropertyAttribute.cs
- CapabilitiesPattern.cs
- DataRecordObjectView.cs
- DefaultValueConverter.cs
- ConfigurationManagerInternal.cs
- CommonProperties.cs
- ListViewItem.cs
- RegexCaptureCollection.cs
- ProvidePropertyAttribute.cs
- RoleService.cs
- HeaderUtility.cs
- PartEditor.cs
- XmlMtomWriter.cs
- CompiledQuery.cs
- BitmapEffectGroup.cs
- XmlAnyAttributeAttribute.cs
- XamlSerializer.cs
- FieldNameLookup.cs
- PolicyManager.cs
- CustomErrorCollection.cs
- Metafile.cs
- NativeMethodsOther.cs
- MsmqProcessProtocolHandler.cs
- Drawing.cs
- ModelVisual3D.cs
- SQLRoleProvider.cs
- CompiledQuery.cs
- HtmlTernaryTree.cs
- CounterCreationDataCollection.cs
- ExecutorLocksHeldException.cs
- LinkedResource.cs
- MediaElementAutomationPeer.cs
- mediapermission.cs
- NeutralResourcesLanguageAttribute.cs
- DependentList.cs
- IntSecurity.cs
- SqlDependency.cs
- SoapIgnoreAttribute.cs
- OdbcConnectionString.cs
- PolyBezierSegment.cs
- EmptyImpersonationContext.cs
- SQLBytes.cs
- SByteStorage.cs
- __ComObject.cs
- RelatedImageListAttribute.cs
- EventSource.cs
- PowerEase.cs
- RelationshipWrapper.cs
- StateMachineDesignerPaint.cs
- FileCodeGroup.cs
- Substitution.cs
- TableLayoutStyle.cs
- DispatcherFrame.cs
- ProviderUtil.cs
- ListViewDeleteEventArgs.cs
- BufferedStream2.cs
- TypedTableBaseExtensions.cs
- XmlSchemaComplexContentRestriction.cs
- LocalizationComments.cs
- LabelLiteral.cs
- MenuItemStyleCollection.cs
- EventItfInfo.cs
- Rect3D.cs
- SoundPlayer.cs
- PathSegment.cs
- FormatterServices.cs
- MasterPage.cs
- VectorAnimationUsingKeyFrames.cs
- EntityStoreSchemaFilterEntry.cs
- DataViewListener.cs
- ToolboxComponentsCreatedEventArgs.cs
- GeneralTransform3D.cs
- DeferredSelectedIndexReference.cs
- Asn1IntegerConverter.cs
- SerializationEventsCache.cs
- MarkupExtensionParser.cs
- followingquery.cs
- XmlComplianceUtil.cs
- SegmentInfo.cs