Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- Rectangle.cs
- XMLSyntaxException.cs
- regiisutil.cs
- System.Data_BID.cs
- PrincipalPermission.cs
- Calendar.cs
- InputChannelBinder.cs
- ToolBarButtonDesigner.cs
- DatePickerDateValidationErrorEventArgs.cs
- SafeLibraryHandle.cs
- MessageDesigner.cs
- EdmFunction.cs
- IntSecurity.cs
- EntityProxyTypeInfo.cs
- ConfigXmlReader.cs
- AttachedPropertyBrowsableAttribute.cs
- SerialPinChanges.cs
- TraceContextEventArgs.cs
- AbandonedMutexException.cs
- BitStream.cs
- RowToParametersTransformer.cs
- ModelItemDictionaryImpl.cs
- ConfigXmlComment.cs
- FontFamilyIdentifier.cs
- SqlReorderer.cs
- HttpVersion.cs
- UnauthorizedAccessException.cs
- BitmapEffectGeneralTransform.cs
- PageAction.cs
- SortKey.cs
- SecurityKeyType.cs
- ColumnWidthChangingEvent.cs
- Rotation3DKeyFrameCollection.cs
- DataPointer.cs
- ResolveResponseInfo.cs
- MessageDecoder.cs
- FormsAuthenticationTicket.cs
- BufferBuilder.cs
- DBSchemaRow.cs
- DrawListViewItemEventArgs.cs
- DocumentViewerConstants.cs
- DefaultBindingPropertyAttribute.cs
- XmlDocument.cs
- WorkflowOperationFault.cs
- OrderingInfo.cs
- SpeechDetectedEventArgs.cs
- ReadOnlyHierarchicalDataSource.cs
- CustomError.cs
- WorkflowDefinitionDispenser.cs
- XAMLParseException.cs
- ProtocolsConfigurationHandler.cs
- XmlSerializationReader.cs
- ActivityCodeGenerator.cs
- Thread.cs
- ElementFactory.cs
- Point3DCollectionValueSerializer.cs
- WebBrowserNavigatedEventHandler.cs
- CurrentTimeZone.cs
- NativeStructs.cs
- ListControlConvertEventArgs.cs
- ObjectListCommandsPage.cs
- StoryFragments.cs
- BindingGraph.cs
- TableLayoutPanel.cs
- ToolStripSeparatorRenderEventArgs.cs
- HttpRuntime.cs
- XmlText.cs
- ResourcePermissionBase.cs
- CodeEventReferenceExpression.cs
- FormViewRow.cs
- IOThreadScheduler.cs
- XsdDateTime.cs
- CollectionBase.cs
- Crypto.cs
- QueryableFilterUserControl.cs
- Overlapped.cs
- Vector3DIndependentAnimationStorage.cs
- KeyedHashAlgorithm.cs
- CounterCreationDataCollection.cs
- ValidationEventArgs.cs
- ForeignKeyConstraint.cs
- ControlParameter.cs
- ResourceWriter.cs
- ThreadPool.cs
- LogicalExpr.cs
- MessageDecoder.cs
- SqlDataSourceFilteringEventArgs.cs
- Processor.cs
- HttpContextServiceHost.cs
- NativeMethods.cs
- StateWorkerRequest.cs
- ModelItemDictionary.cs
- MaskedTextProvider.cs
- PaintEvent.cs
- CheckBox.cs
- TemplateInstanceAttribute.cs
- MessageBox.cs
- TypeLoadException.cs
- GifBitmapEncoder.cs
- GridViewRowPresenter.cs