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
![Network programming in C#, Network Programming in VB.NET, Network Programming in .NET](/images/book.jpg)
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- CompositionTarget.cs
- SelectedDatesCollection.cs
- TrustManagerPromptUI.cs
- XmlSchemaDatatype.cs
- TextServicesCompartment.cs
- XPathScanner.cs
- MergablePropertyAttribute.cs
- Stackframe.cs
- TypeUnloadedException.cs
- MultiPageTextView.cs
- XPathDocument.cs
- PerformanceCounterNameAttribute.cs
- Vector3DCollectionValueSerializer.cs
- BreakSafeBase.cs
- ClassDataContract.cs
- MetadataSerializer.cs
- WasAdminWrapper.cs
- TypeConverterAttribute.cs
- TimeIntervalCollection.cs
- SearchForVirtualItemEventArgs.cs
- SiteMapNodeCollection.cs
- CacheSection.cs
- ContextMenuAutomationPeer.cs
- EntityTypeEmitter.cs
- FixedDocumentSequencePaginator.cs
- ServiceOperationListItemList.cs
- ConfigPathUtility.cs
- FixedHighlight.cs
- ExpressionPrinter.cs
- ThreadStateException.cs
- SqlClientPermission.cs
- AttachedPropertyMethodSelector.cs
- TypeSource.cs
- ExceptionUtil.cs
- MatrixValueSerializer.cs
- EvidenceBase.cs
- RealProxy.cs
- Parser.cs
- StrongNameIdentityPermission.cs
- CompileLiteralTextParser.cs
- ObjectCacheSettings.cs
- SyndicationSerializer.cs
- RunWorkerCompletedEventArgs.cs
- ParameterEditorUserControl.cs
- OleDbRowUpdatingEvent.cs
- CompareValidator.cs
- DictionaryEditChange.cs
- ExpressionBuilderCollection.cs
- LinqDataSourceUpdateEventArgs.cs
- ServiceContractListItemList.cs
- PageCodeDomTreeGenerator.cs
- DataGridViewColumnConverter.cs
- DerivedKeyCachingSecurityTokenSerializer.cs
- SchemaImporter.cs
- TypefaceMap.cs
- Journal.cs
- AppearanceEditorPart.cs
- CommonDialog.cs
- WebConfigurationHostFileChange.cs
- ProtocolsSection.cs
- SafeRightsManagementHandle.cs
- Tablet.cs
- BigInt.cs
- COM2IManagedPerPropertyBrowsingHandler.cs
- Hash.cs
- SqlBulkCopyColumnMappingCollection.cs
- ToolboxItemFilterAttribute.cs
- Itemizer.cs
- ColumnBinding.cs
- DependencyObjectPropertyDescriptor.cs
- PropertyChangedEventArgs.cs
- TextElementEnumerator.cs
- PageAsyncTask.cs
- FrameSecurityDescriptor.cs
- EncoderNLS.cs
- IdentityManager.cs
- XmlSchemaSimpleTypeRestriction.cs
- DataColumnChangeEvent.cs
- DataMisalignedException.cs
- ErrorInfoXmlDocument.cs
- InputProcessorProfiles.cs
- ThreadStaticAttribute.cs
- CombinedGeometry.cs
- PingReply.cs
- HtmlInputControl.cs
- DesignerRegionMouseEventArgs.cs
- DefinitionProperties.cs
- CompilationSection.cs
- ConnectionsZoneAutoFormat.cs
- SecurityContextTokenValidationException.cs
- QilTargetType.cs
- SafeNativeMethods.cs
- IsolatedStorageFile.cs
- ObjectSet.cs
- SHA1CryptoServiceProvider.cs
- XsltArgumentList.cs
- WindowsListBox.cs
- ConfigurationPermission.cs
- FileNotFoundException.cs
- PageOrientation.cs