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
- ClientBuildManagerCallback.cs
- SafeNativeMethods.cs
- HtmlTernaryTree.cs
- SqlUtil.cs
- ApplicationInfo.cs
- InvokeHandlers.cs
- StatusBarPanel.cs
- ClaimSet.cs
- TcpSocketManager.cs
- TreeNodeMouseHoverEvent.cs
- ListBox.cs
- StrokeNodeEnumerator.cs
- SmiGettersStream.cs
- MarkupCompilePass1.cs
- XslCompiledTransform.cs
- DataSourceView.cs
- SystemDiagnosticsSection.cs
- PromptEventArgs.cs
- IgnorePropertiesAttribute.cs
- SystemPens.cs
- PageParserFilter.cs
- RuntimeConfigLKG.cs
- NativeMethods.cs
- FixedDocument.cs
- WebBrowserContainer.cs
- CodeDirectiveCollection.cs
- SoapIncludeAttribute.cs
- WebPartUtil.cs
- BitmapMetadataBlob.cs
- TemplateKeyConverter.cs
- CustomGrammar.cs
- DefaultParameterValueAttribute.cs
- HeaderCollection.cs
- XamlWriter.cs
- Control.cs
- RangeValidator.cs
- Variable.cs
- PeerInvitationResponse.cs
- ReferenceSchema.cs
- UdpTransportBindingElement.cs
- log.cs
- OuterGlowBitmapEffect.cs
- SupportingTokenAuthenticatorSpecification.cs
- TimeSpanSecondsOrInfiniteConverter.cs
- WebPartConnectionsEventArgs.cs
- WebBrowserNavigatingEventHandler.cs
- String.cs
- DataTableTypeConverter.cs
- MarginsConverter.cs
- ArgumentReference.cs
- COM2Properties.cs
- HtmlInputCheckBox.cs
- ReadOnlyDictionary.cs
- TextTreeRootTextBlock.cs
- InvalidComObjectException.cs
- Transform3D.cs
- SoapHeader.cs
- SerialReceived.cs
- CompositeDesignerAccessibleObject.cs
- SiteMapProvider.cs
- BufferBuilder.cs
- ProofTokenCryptoHandle.cs
- XmlValidatingReaderImpl.cs
- Graphics.cs
- ToolStripGripRenderEventArgs.cs
- PostBackOptions.cs
- safesecurityhelperavalon.cs
- GridToolTip.cs
- TransportOutputChannel.cs
- SiteMapPathDesigner.cs
- TextTreeRootNode.cs
- TextStore.cs
- ConnectionConsumerAttribute.cs
- PopupRoot.cs
- XpsS0ValidatingLoader.cs
- NullableIntMinMaxAggregationOperator.cs
- StyleCollectionEditor.cs
- AdPostCacheSubstitution.cs
- DataGridAutomationPeer.cs
- MeasureItemEvent.cs
- FileNotFoundException.cs
- CodeGenerationManager.cs
- ValidatingReaderNodeData.cs
- CollectionChangeEventArgs.cs
- InkSerializer.cs
- GuidelineSet.cs
- SqlTrackingService.cs
- jithelpers.cs
- SQLRoleProvider.cs
- PathSegment.cs
- DependencyObjectType.cs
- SvcMapFile.cs
- NamespaceMapping.cs
- DifferencingCollection.cs
- ToolStripContainerActionList.cs
- FormViewPagerRow.cs
- ObjectReferenceStack.cs
- PersonalizableTypeEntry.cs
- XmlSerializerAssemblyAttribute.cs
- ExecutionProperties.cs