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
- SoapSchemaExporter.cs
- EncryptedKey.cs
- ToolStripContainer.cs
- ControlPager.cs
- DelimitedListTraceListener.cs
- control.ime.cs
- Vector3DCollection.cs
- NavigationProperty.cs
- NativeMethods.cs
- ProcessInputEventArgs.cs
- ScriptManager.cs
- OleDbEnumerator.cs
- MimeTextImporter.cs
- HttpHandlerAction.cs
- AutoCompleteStringCollection.cs
- elementinformation.cs
- DrawingVisualDrawingContext.cs
- TraversalRequest.cs
- StatusBarPanel.cs
- MatrixStack.cs
- Model3D.cs
- WindowsBrush.cs
- EventLogPermissionEntry.cs
- TimersDescriptionAttribute.cs
- WebPartManagerInternals.cs
- PackageFilter.cs
- SafePointer.cs
- CommentEmitter.cs
- MemberMaps.cs
- InputScopeConverter.cs
- StateElementCollection.cs
- ProviderIncompatibleException.cs
- InternalCache.cs
- WebPartConnectionsDisconnectVerb.cs
- LayoutInformation.cs
- Module.cs
- UpDownBaseDesigner.cs
- MemberHolder.cs
- RelationshipConstraintValidator.cs
- _ProxyChain.cs
- PersonalizationProviderCollection.cs
- FileLogRecordStream.cs
- NativeMethods.cs
- SkipStoryboardToFill.cs
- RuleSettingsCollection.cs
- FontUnitConverter.cs
- AuthenticationManager.cs
- ProtectedProviderSettings.cs
- Cursor.cs
- MouseOverProperty.cs
- GB18030Encoding.cs
- SqlFormatter.cs
- TcpWorkerProcess.cs
- StackOverflowException.cs
- AutomationPeer.cs
- ScriptResourceAttribute.cs
- TextSerializer.cs
- HttpCacheParams.cs
- EDesignUtil.cs
- WorkflowNamespace.cs
- ReadWriteSpinLock.cs
- Debug.cs
- DocumentPageHost.cs
- securitycriticaldataClass.cs
- SymbolMethod.cs
- ButtonBase.cs
- StopRoutingHandler.cs
- RichTextBox.cs
- CompositeFontParser.cs
- PolyLineSegment.cs
- SqlTypeSystemProvider.cs
- PolyLineSegment.cs
- SQLDecimal.cs
- PathGeometry.cs
- XmlQuerySequence.cs
- PointAnimationClockResource.cs
- AnchoredBlock.cs
- PropertyMappingExceptionEventArgs.cs
- LineVisual.cs
- DataTableNewRowEvent.cs
- ToolboxItemFilterAttribute.cs
- OleDbParameterCollection.cs
- ContentType.cs
- RoutedEvent.cs
- XPathNavigatorKeyComparer.cs
- ExecutionContext.cs
- ByteBufferPool.cs
- RouteItem.cs
- OdbcInfoMessageEvent.cs
- FillBehavior.cs
- BehaviorService.cs
- SQLDateTime.cs
- Rotation3DAnimation.cs
- TableStyle.cs
- _OSSOCK.cs
- ExpressionEditorSheet.cs
- WebPartUserCapability.cs
- XmlSchemaType.cs
- Base64Decoder.cs
- FilterException.cs