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
- SafeMarshalContext.cs
- Paragraph.cs
- Message.cs
- ActivityPropertyReference.cs
- XmlSchemaAnnotation.cs
- SizeChangedInfo.cs
- RegexStringValidator.cs
- HostedImpersonationContext.cs
- OperationGenerator.cs
- DataGridTablesFactory.cs
- ExtensionsSection.cs
- RegexParser.cs
- Trigger.cs
- MailMessageEventArgs.cs
- SqlInternalConnectionTds.cs
- SystemIcmpV6Statistics.cs
- ChangeNode.cs
- WindowsButton.cs
- OdbcRowUpdatingEvent.cs
- EncryptedPackage.cs
- BitmapImage.cs
- DefaultAuthorizationContext.cs
- CodeTypeDelegate.cs
- ComponentDispatcher.cs
- EdmType.cs
- ConfigXmlWhitespace.cs
- BaseDataListComponentEditor.cs
- PackageRelationship.cs
- mediaeventshelper.cs
- Image.cs
- EpmContentDeSerializerBase.cs
- BookmarkEventArgs.cs
- TreeViewItem.cs
- NotConverter.cs
- WindowsStartMenu.cs
- GrammarBuilder.cs
- Int32RectConverter.cs
- BitmapEffectrendercontext.cs
- ApplicationSecurityInfo.cs
- CngKey.cs
- JavaScriptObjectDeserializer.cs
- HybridObjectCache.cs
- XmlBinaryReaderSession.cs
- ResourcesGenerator.cs
- SqlConnectionStringBuilder.cs
- RolePrincipal.cs
- IProvider.cs
- StylusPointCollection.cs
- WebPartTransformer.cs
- DirectoryObjectSecurity.cs
- FormViewDeleteEventArgs.cs
- BindingMAnagerBase.cs
- HttpVersion.cs
- WebPartPersonalization.cs
- BaseTemplateBuildProvider.cs
- SafeCryptHandles.cs
- GradientStop.cs
- smtpconnection.cs
- ExpressionBuilder.cs
- NumberAction.cs
- Reference.cs
- ColumnReorderedEventArgs.cs
- ShaderEffect.cs
- DrawingCollection.cs
- OperationDescription.cs
- PeerNameResolver.cs
- DataGridViewTextBoxColumn.cs
- RightNameExpirationInfoPair.cs
- TextParagraphView.cs
- MatrixTransform.cs
- RawKeyboardInputReport.cs
- Menu.cs
- StateMachine.cs
- Utils.cs
- TdsParserSafeHandles.cs
- UshortList2.cs
- TemplateControlParser.cs
- GZipStream.cs
- IgnoreSection.cs
- MD5Cng.cs
- SqlDataSourceSummaryPanel.cs
- GroupBox.cs
- TickBar.cs
- PromptBuilder.cs
- StringPropertyBuilder.cs
- DataGridViewCellValueEventArgs.cs
- Scene3D.cs
- Int32RectConverter.cs
- WorkflowInstanceTerminatedRecord.cs
- Utilities.cs
- ResXResourceSet.cs
- Convert.cs
- HtmlInputControl.cs
- ExitEventArgs.cs
- RegisteredHiddenField.cs
- SingleStorage.cs
- GlyphsSerializer.cs
- ImageSourceValueSerializer.cs
- TTSEngineTypes.cs
- PkcsMisc.cs