CollectionNotAvailableException Members

Include Protected Members
Include Inherited Members

The CollectionNotAvailableException class is an exception that is raised when an attempt is made to retrieve a collection that is not available.

The CollectionNotAvailableException type exposes the following members.

Constructors

  Name Description
Public method CollectionNotAvailableException() Initializes a new instance of the CollectionNotAvailableException class.
Public method CollectionNotAvailableException(String) Initializes a new instance of the CollectionNotAvailableException class with the specified message text.
Public method CollectionNotAvailableException(String, ServerVersion) Initializes a new instance of the CollectionNotAvailableException class with the specified collection and the version of the instance of Microsoft SQL Server.
Public method CollectionNotAvailableException(String, Exception) Initializes a new instance of the CollectionNotAvailableException class with the specified message text and inner exception.

Top

Methods

  Name Description
Public method Equals(Object) (Inherited from Object.)
Protected method Finalize() (Inherited from Object.)
Public method GetBaseException() (Inherited from Exception.)
Public method GetHashCode() (Inherited from Object.)
Public method GetObjectData(SerializationInfo, StreamingContext) (Overrides Exception.GetObjectData(SerializationInfo, StreamingContext).)
Public method GetType() (Inherited from Exception.)
Protected method MemberwiseClone() (Inherited from Object.)
Protected method SetHelpContext(String) Sets the Help context value for the referenced exception. (Inherited from SmoException.)
Public method ToString() (Inherited from Exception.)

Top

Properties

  Name Description
Public property CollectionName Gets the name of the collection that is not available.
Public property Data (Inherited from Exception.)
Public property HelpLink Gets the Help link for further information from Microsoft about the SMO exception. (Inherited from SmoException.)
Protected property HResult (Inherited from Exception.)
Public property InnerException (Inherited from Exception.)
Public property Message Gets the message that describes the current exception. (Overrides Exception.Message.)
Public property ServerVersion Gets the version of the instance of Microsoft SQL Server that raised the exception.
Public property SmoExceptionType Gets the type of exception. (Overrides SmoException.SmoExceptionType.)
Public property Source (Inherited from Exception.)
Public property StackTrace (Inherited from Exception.)
Public property TargetSite (Inherited from Exception.)

Top