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
- XmlSchema.cs
- ActionFrame.cs
- SignatureDescription.cs
- ServiceOperation.cs
- ReadOnlyPermissionSet.cs
- DataGridViewRowPostPaintEventArgs.cs
- ComponentEditorForm.cs
- LingerOption.cs
- CodeCommentStatement.cs
- TransformerTypeCollection.cs
- CharEnumerator.cs
- CodeTypeMemberCollection.cs
- MemberHolder.cs
- ApplicationFileParser.cs
- GetLedgerEntryForRecipientRequest.cs
- InvalidPrinterException.cs
- SafeFileMappingHandle.cs
- SharedPersonalizationStateInfo.cs
- X509WindowsSecurityToken.cs
- updateconfighost.cs
- CalendarDateRange.cs
- KeyInterop.cs
- __ConsoleStream.cs
- QueryContinueDragEventArgs.cs
- HostExecutionContextManager.cs
- CompilationLock.cs
- AppModelKnownContentFactory.cs
- ITextView.cs
- Cursor.cs
- WindowsRebar.cs
- RelationshipNavigation.cs
- RawStylusSystemGestureInputReport.cs
- Stack.cs
- PersistChildrenAttribute.cs
- ListItemCollection.cs
- CodeTypeReferenceExpression.cs
- WindowInteropHelper.cs
- RequestResizeEvent.cs
- OperatingSystemVersionCheck.cs
- DecimalAnimationBase.cs
- DataContext.cs
- MediaScriptCommandRoutedEventArgs.cs
- Rect.cs
- ConditionCollection.cs
- PropertyGridEditorPart.cs
- WpfPayload.cs
- ToolBarButtonClickEvent.cs
- SafeThemeHandle.cs
- Transform.cs
- CompiledQuery.cs
- Socket.cs
- DataGridViewCheckBoxCell.cs
- Int32Converter.cs
- EditBehavior.cs
- FlowNode.cs
- Calendar.cs
- DeploymentSectionCache.cs
- SQLMembershipProvider.cs
- XmlTypeMapping.cs
- GridEntryCollection.cs
- EmptyStringExpandableObjectConverter.cs
- _CookieModule.cs
- HtmlToClrEventProxy.cs
- DetailsViewModeEventArgs.cs
- VScrollBar.cs
- PickBranch.cs
- PageBorderless.cs
- VirtualizingStackPanel.cs
- InlineUIContainer.cs
- DataGridViewEditingControlShowingEventArgs.cs
- ColumnWidthChangedEvent.cs
- FilterQueryOptionExpression.cs
- SystemWebCachingSectionGroup.cs
- AttributeSetAction.cs
- TreeNodeCollectionEditor.cs
- WebPartConnectionsDisconnectVerb.cs
- SoapSchemaImporter.cs
- InvalidDocumentContentsException.cs
- ArcSegment.cs
- VersionedStream.cs
- RecognizedAudio.cs
- DeclarativeCatalogPart.cs
- StreamSecurityUpgradeInitiatorAsyncResult.cs
- InputGestureCollection.cs
- DbExpressionVisitor_TResultType.cs
- NavigateEvent.cs
- CodeTypeReference.cs
- WebPartPersonalization.cs
- InternalConfigRoot.cs
- Vector3D.cs
- SafeCoTaskMem.cs
- ToggleProviderWrapper.cs
- HierarchicalDataBoundControlAdapter.cs
- ApplicationBuildProvider.cs
- DnsCache.cs
- sqlstateclientmanager.cs
- Hex.cs
- _DigestClient.cs
- HtmlTableCell.cs
- Type.cs