CollectionNotAvailableException Members

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

The following tables list the members exposed by the CollectionNotAvailableException type.

Public Constructors

  Name Description
CollectionNotAvailableException Overloaded. Initializes a new instance of the CollectionNotAvailableException class.

Top

Public Properties

(see also Protected Properties )

  Name Description
ms219331.pubproperty(en-US,SQL.90).gif CollectionName Gets the name of the collection that is not available.
ms219331.pubproperty(en-US,SQL.90).gif Data  (inherited from Exception )
ms219331.pubproperty(en-US,SQL.90).gif HelpLink  Gets the Help link for further information from Microsoft about the SQL Server Management Objects (SMO) exception. (inherited from SmoException)
ms219331.pubproperty(en-US,SQL.90).gif InnerException  (inherited from Exception )
ms219331.pubproperty(en-US,SQL.90).gif Message Overridden. Gets the message that describes the current exception.
ms219331.pubproperty(en-US,SQL.90).gifms219331.static(en-US,SQL.90).gif ProductName  Gets the name of the product that caused the exception. (inherited from SqlServerManagementException)
ms219331.pubproperty(en-US,SQL.90).gif ServerVersion Gets the version of the instance of Microsoft SQL Server that raised the exception.
ms219331.pubproperty(en-US,SQL.90).gif SmoExceptionType Overridden. Gets the type of exception.
ms219331.pubproperty(en-US,SQL.90).gif Source  (inherited from Exception )
ms219331.pubproperty(en-US,SQL.90).gif StackTrace  (inherited from Exception )
ms219331.pubproperty(en-US,SQL.90).gif TargetSite  (inherited from Exception )

Top

Protected Properties

  Name Description
ms219331.protproperty(en-US,SQL.90).gif HResult  (inherited from Exception )
ms219331.protproperty(en-US,SQL.90).gifms219331.static(en-US,SQL.90).gif ProdVer  Gets the product version of the instance of Microsoft SQL Server that generated the SQL Server Management Objects (SMO) exception. (inherited from SmoException)

Top

Public Methods

(see also Protected Methods )

  Name Description
ms219331.pubmethod(en-US,SQL.90).gif Equals  Overloaded. (inherited from Object )
ms219331.pubmethod(en-US,SQL.90).gif GetBaseException  (inherited from Exception )
ms219331.pubmethod(en-US,SQL.90).gif GetHashCode  (inherited from Object )
ms219331.pubmethod(en-US,SQL.90).gif GetObjectData  (inherited from Exception )
ms219331.pubmethod(en-US,SQL.90).gif GetType  (inherited from Exception )
ms219331.pubmethod(en-US,SQL.90).gifms219331.static(en-US,SQL.90).gif ReferenceEquals  (inherited from Object )
ms219331.pubmethod(en-US,SQL.90).gif ToString  (inherited from Exception )

Top

Protected Methods

  Name Description
ms219331.protmethod(en-US,SQL.90).gif Finalize  (inherited from Object )
ms219331.protmethod(en-US,SQL.90).gif MemberwiseClone  (inherited from Object )
ms219331.protmethod(en-US,SQL.90).gif SetHelpContext  (inherited from SmoException )

Top

See Also

Reference

CollectionNotAvailableException Class
Microsoft.SqlServer.Management.Smo Namespace

Other Resources

Handling SMO Exceptions