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
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- Table.cs
- MediaTimeline.cs
- CompiledELinqQueryState.cs
- PtsCache.cs
- Process.cs
- MsiStyleLogWriter.cs
- SchemaObjectWriter.cs
- _TimerThread.cs
- xml.cs
- XmlSchemaAttributeGroup.cs
- TextSerializer.cs
- TableLayout.cs
- Panel.cs
- GridViewEditEventArgs.cs
- ModuleElement.cs
- ClickablePoint.cs
- LogSwitch.cs
- TextBox.cs
- ConfigurationManager.cs
- NextPreviousPagerField.cs
- CapabilitiesRule.cs
- AppManager.cs
- AdapterDictionary.cs
- ADConnectionHelper.cs
- FileIOPermission.cs
- PropertyStore.cs
- StorageModelBuildProvider.cs
- Axis.cs
- IMembershipProvider.cs
- recordstatescratchpad.cs
- LoginView.cs
- FormatConvertedBitmap.cs
- ResXResourceWriter.cs
- FrameSecurityDescriptor.cs
- HashHelper.cs
- ContentPresenter.cs
- RadioButtonFlatAdapter.cs
- BlockExpression.cs
- ArgumentException.cs
- XmlNullResolver.cs
- KeySpline.cs
- UserNamePasswordValidator.cs
- BodyGlyph.cs
- ResXFileRef.cs
- RadioButton.cs
- Vector3DValueSerializer.cs
- XmlSchema.cs
- LockCookie.cs
- TransformConverter.cs
- ModelTreeEnumerator.cs
- XmlDocumentFragment.cs
- ErrorLog.cs
- DataFormats.cs
- DisplayNameAttribute.cs
- HyperLink.cs
- Verify.cs
- HtmlGenericControl.cs
- ModelUIElement3D.cs
- ShutDownListener.cs
- TimeEnumHelper.cs
- ConditionalAttribute.cs
- ItemType.cs
- ToolStripRenderEventArgs.cs
- IndentedTextWriter.cs
- Constants.cs
- AdRotatorDesigner.cs
- WeakHashtable.cs
- IUnknownConstantAttribute.cs
- COM2EnumConverter.cs
- OptimalTextSource.cs
- ComplexBindingPropertiesAttribute.cs
- XmlNodeList.cs
- BinaryWriter.cs
- IncrementalCompileAnalyzer.cs
- InstanceData.cs
- GraphicsPathIterator.cs
- NullRuntimeConfig.cs
- SaveFileDialog.cs
- SerializerProvider.cs
- XmlSerializer.cs
- WebPartConnectionsCancelVerb.cs
- AsyncOperation.cs
- PageHandlerFactory.cs
- XmlSchemaSimpleContentRestriction.cs
- SqlParameter.cs
- BrushValueSerializer.cs
- DbDataAdapter.cs
- RuleValidation.cs
- TypeDelegator.cs
- FormViewInsertedEventArgs.cs
- XmlEntityReference.cs
- DataGridCaption.cs
- WsdlBuildProvider.cs
- SafeRightsManagementHandle.cs
- DefinitionBase.cs
- BamlResourceSerializer.cs
- XmlSchemaAnnotated.cs
- BezierSegment.cs
- DynamicScriptObject.cs
- XmlSchemaAttributeGroup.cs