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
- GeneralTransform3DCollection.cs
- ObjectStorage.cs
- EFAssociationProvider.cs
- PropertyToken.cs
- Help.cs
- EmulateRecognizeCompletedEventArgs.cs
- RightsManagementPermission.cs
- ToolStripSystemRenderer.cs
- FileSecurity.cs
- SHA1.cs
- Wildcard.cs
- Brush.cs
- OperationSelectorBehavior.cs
- XhtmlConformanceSection.cs
- CodeDesigner.cs
- MtomMessageEncodingBindingElement.cs
- GridEntryCollection.cs
- CapabilitiesSection.cs
- SectionInput.cs
- CompModHelpers.cs
- CodePropertyReferenceExpression.cs
- JavaScriptSerializer.cs
- DataGridViewRowErrorTextNeededEventArgs.cs
- PrefixQName.cs
- OperationCanceledException.cs
- DispatcherTimer.cs
- CodeAttachEventStatement.cs
- VarInfo.cs
- XmlNodeChangedEventManager.cs
- Tag.cs
- RepeatButton.cs
- XmlAttributeProperties.cs
- MimeTypeMapper.cs
- RijndaelManaged.cs
- RNGCryptoServiceProvider.cs
- WebPartDescription.cs
- IxmlLineInfo.cs
- OdbcConnectionString.cs
- InternalControlCollection.cs
- LinqToSqlWrapper.cs
- XmlCharCheckingReader.cs
- Dump.cs
- WindowsContainer.cs
- GeometryValueSerializer.cs
- InvalidDataException.cs
- ListViewItem.cs
- NativeRightsManagementAPIsStructures.cs
- PointAnimation.cs
- FlowchartSizeFeature.cs
- AuthenticatingEventArgs.cs
- ColumnCollection.cs
- GridViewAutomationPeer.cs
- FixedDocumentPaginator.cs
- Vertex.cs
- UniformGrid.cs
- SiteMapPath.cs
- EntityDataSourceConfigureObjectContext.cs
- QueryStringConverter.cs
- TemplateField.cs
- AccessViolationException.cs
- TransactionalPackage.cs
- ValueConversionAttribute.cs
- MonthCalendar.cs
- IpcManager.cs
- Char.cs
- BaseComponentEditor.cs
- XmlSchemaValidationException.cs
- ConstructorExpr.cs
- XamlFigureLengthSerializer.cs
- BezierSegment.cs
- WebPartMenuStyle.cs
- EnumBuilder.cs
- DataControlPagerLinkButton.cs
- NativeMethods.cs
- ProfileGroupSettings.cs
- SHA384.cs
- ValueTypeFixupInfo.cs
- HostingEnvironmentSection.cs
- EasingFunctionBase.cs
- EventManager.cs
- HtmlAnchor.cs
- RadioButtonStandardAdapter.cs
- SqlGenerator.cs
- StaticSiteMapProvider.cs
- Trigger.cs
- RsaSecurityKey.cs
- BatchServiceHost.cs
- OptionUsage.cs
- ColumnWidthChangingEvent.cs
- DrawingBrush.cs
- HttpWebRequestElement.cs
- TextUtf8RawTextWriter.cs
- DataGridViewRowHeaderCell.cs
- QilLoop.cs
- CompiledQuery.cs
- ReflectionPermission.cs
- WindowsFormsDesignerOptionService.cs
- Operand.cs
- Barrier.cs
- Size.cs