Partilhar via


CollectionNotAvailableException Class

Definition

The exception thrown when the user is asking for a collection not available for the current server version.

[System.Serializable]
public sealed class CollectionNotAvailableException : Microsoft.SqlServer.Management.Smo.SmoException
[<System.Serializable>]
type CollectionNotAvailableException = class
    inherit SmoException
Public NotInheritable Class CollectionNotAvailableException
Inherits SmoException
Inheritance
CollectionNotAvailableException
Attributes

Constructors

CollectionNotAvailableException()

Constructor for the T:Microsoft.SqlServer.Management.Smo.CollectionNotAvailableException.

CollectionNotAvailableException(String, Exception)

Constructor for the T:Microsoft.SqlServer.Management.Smo.CollectionNotAvailableException.

CollectionNotAvailableException(String, ServerVersion)

Constructor for the T:Microsoft.SqlServer.Management.Smo.CollectionNotAvailableException.

CollectionNotAvailableException(String)

Constructor for the T:Microsoft.SqlServer.Management.Smo.CollectionNotAvailableException.

Properties

CollectionName
HelpLink

Gets a link as string to the support web site.

(Inherited from SmoException)
Message

Gets the message of the exception as formatted string.

ServerVersion
SmoExceptionType

Gets the type of exeption from the T:Microsoft.SqlServer.Management.Smo.SmoExceptionType enumeration.

Methods

GetObjectData(SerializationInfo, StreamingContext)

Serialization helper method.

SetHelpContext(String) (Inherited from SmoException)

Applies to