Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / 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.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ParamArrayAttribute.cs
- COM2IVsPerPropertyBrowsingHandler.cs
- DesignTimeTemplateParser.cs
- Parser.cs
- RegistrationServices.cs
- LocalFileSettingsProvider.cs
- CachingParameterInspector.cs
- XsdBuilder.cs
- ReadOnlyObservableCollection.cs
- RoleManagerEventArgs.cs
- TaskbarItemInfo.cs
- DataGridViewEditingControlShowingEventArgs.cs
- RuntimeVariablesExpression.cs
- SafeRightsManagementHandle.cs
- PropertyGroupDescription.cs
- FilterElement.cs
- HighlightComponent.cs
- DataControlField.cs
- TraceLevelHelper.cs
- ButtonField.cs
- CodeCommentStatementCollection.cs
- ColumnReorderedEventArgs.cs
- DataListCommandEventArgs.cs
- EmptyEnumerator.cs
- CodePageUtils.cs
- FixedLineResult.cs
- DocumentXmlWriter.cs
- TemplateInstanceAttribute.cs
- TextureBrush.cs
- PageVisual.cs
- CodeVariableReferenceExpression.cs
- ConfigurationStrings.cs
- VirtualPathProvider.cs
- ViewStateModeByIdAttribute.cs
- XslTransform.cs
- WinFormsComponentEditor.cs
- FilterableAttribute.cs
- TimeEnumHelper.cs
- CryptoApi.cs
- Root.cs
- XPathNodeInfoAtom.cs
- DllHostedComPlusServiceHost.cs
- SiblingIterators.cs
- BufferedStream.cs
- ArrayMergeHelper.cs
- GeneralTransform2DTo3DTo2D.cs
- SimpleRecyclingCache.cs
- ParsedAttributeCollection.cs
- OleDbFactory.cs
- MemberRelationshipService.cs
- EUCJPEncoding.cs
- SafeViewOfFileHandle.cs
- Part.cs
- ParseChildrenAsPropertiesAttribute.cs
- TextParagraphView.cs
- OneOfScalarConst.cs
- MiniLockedBorderGlyph.cs
- DependencyPropertyAttribute.cs
- XmlSchemaRedefine.cs
- MembershipValidatePasswordEventArgs.cs
- BinaryMessageFormatter.cs
- ComponentResourceKey.cs
- SqlUserDefinedTypeAttribute.cs
- SchemaCollectionCompiler.cs
- Baml6Assembly.cs
- dbenumerator.cs
- TreeViewCancelEvent.cs
- BamlBinaryReader.cs
- safemediahandle.cs
- DecoratedNameAttribute.cs
- SymmetricKeyWrap.cs
- XmlMemberMapping.cs
- DefaultClaimSet.cs
- MouseOverProperty.cs
- Native.cs
- ResourcePool.cs
- BufferedWebEventProvider.cs
- SafeFileMapViewHandle.cs
- DigestComparer.cs
- CommentEmitter.cs
- COAUTHIDENTITY.cs
- XmlValueConverter.cs
- ReadOnlyDataSourceView.cs
- PlaceHolder.cs
- TableLayoutStyle.cs
- ReachUIElementCollectionSerializer.cs
- DataSourceXmlTextReader.cs
- TemplateBindingExpressionConverter.cs
- SecurityContext.cs
- Win32KeyboardDevice.cs
- LinqDataSourceHelper.cs
- autovalidator.cs
- SerializerDescriptor.cs
- BindingValueChangedEventArgs.cs
- BindableTemplateBuilder.cs
- Mutex.cs
- TailCallAnalyzer.cs
- ThrowOnMultipleAssignment.cs
- TextSelection.cs
- Image.cs