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
- BufferedGenericXmlSecurityToken.cs
- EntityTypeBase.cs
- FindCriteriaApril2005.cs
- TaskScheduler.cs
- RadioButton.cs
- ArgumentOutOfRangeException.cs
- TransactedBatchingBehavior.cs
- CodeTypeMemberCollection.cs
- IDispatchConstantAttribute.cs
- DataColumnPropertyDescriptor.cs
- HttpStreamMessageEncoderFactory.cs
- XPathNodeList.cs
- ProjectionPathBuilder.cs
- DeferredReference.cs
- webbrowsersite.cs
- HandlerWithFactory.cs
- Helper.cs
- ContentElementCollection.cs
- SupportsEventValidationAttribute.cs
- ComNativeDescriptor.cs
- UriWriter.cs
- Baml2006ReaderContext.cs
- CompilerErrorCollection.cs
- SplineQuaternionKeyFrame.cs
- DocumentApplicationJournalEntry.cs
- DataGridViewCellContextMenuStripNeededEventArgs.cs
- DataGridViewSelectedCellCollection.cs
- CodeObject.cs
- PrimitiveType.cs
- WebPartActionVerb.cs
- WindowsSpinner.cs
- CompiledIdentityConstraint.cs
- ThreadAttributes.cs
- ConditionChanges.cs
- Rule.cs
- hwndwrapper.cs
- ErrorWrapper.cs
- WebPartActionVerb.cs
- ActiveXHost.cs
- HiddenFieldDesigner.cs
- LambdaCompiler.cs
- RequestBringIntoViewEventArgs.cs
- FileDetails.cs
- XmlObjectSerializer.cs
- VirtualizedCellInfoCollection.cs
- TrackBarDesigner.cs
- ConditionalAttribute.cs
- InputLangChangeRequestEvent.cs
- MTConfigUtil.cs
- SHA384.cs
- LiteralDesigner.cs
- FileUpload.cs
- FontUnit.cs
- DbModificationClause.cs
- MergeLocalizationDirectives.cs
- HtmlControlPersistable.cs
- XhtmlBasicLinkAdapter.cs
- ThreadExceptionDialog.cs
- Variant.cs
- EditorZoneBase.cs
- ToolStripComboBox.cs
- CodeValidator.cs
- FixedSOMPage.cs
- ContextActivityUtils.cs
- XamlContextStack.cs
- CodeAssignStatement.cs
- SmiMetaDataProperty.cs
- AppDomainManager.cs
- GenericAuthenticationEventArgs.cs
- XmlSchemaImport.cs
- CanonicalFormWriter.cs
- WebPermission.cs
- COAUTHINFO.cs
- ResizeBehavior.cs
- StorageBasedPackageProperties.cs
- behaviorssection.cs
- WorkflowValidationFailedException.cs
- ImageSourceValueSerializer.cs
- TransformValueSerializer.cs
- ManualResetEventSlim.cs
- DiscoveryServiceExtension.cs
- DataStreamFromComStream.cs
- DeviceFilterDictionary.cs
- SHA1.cs
- PassportIdentity.cs
- WorkflowMessageEventArgs.cs
- _DomainName.cs
- DataContract.cs
- URL.cs
- WebBaseEventKeyComparer.cs
- HtmlInputSubmit.cs
- ECDiffieHellmanCng.cs
- SecurityException.cs
- DiscoveryClient.cs
- HostingPreferredMapPath.cs
- FixedSOMPageConstructor.cs
- BindingContext.cs
- SubtreeProcessor.cs
- InsufficientMemoryException.cs
- CommittableTransaction.cs