TechNet
Export (0) Print
Expand All

CollectionNotAvailableException Class

 

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

Namespace:   Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

System.Object
  System.Exception
    Microsoft.SqlServer.Management.Common.SqlServerManagementException
      Microsoft.SqlServer.Management.Smo.SmoException
        Microsoft.SqlServer.Management.Smo.CollectionNotAvailableException

[SerializableAttribute]
public sealed class CollectionNotAvailableException : SmoException

NameDescription
System_CAPS_pubmethodCollectionNotAvailableException()

Initializes a new instance of the CollectionNotAvailableException class.

System_CAPS_pubmethodCollectionNotAvailableException(String)

Initializes a new instance of the CollectionNotAvailableException class with the specified message text.

System_CAPS_pubmethodCollectionNotAvailableException(String, Exception)

Initializes a new instance of the CollectionNotAvailableException class with the specified message text and inner exception.

System_CAPS_pubmethodCollectionNotAvailableException(String, ServerVersion)

Initializes a new instance of the CollectionNotAvailableException class with the specified collection and the version of the instance of Microsoft SQL Server.

NameDescription
System_CAPS_pubpropertyCollectionName

Gets the name of the collection that is not available.

System_CAPS_pubpropertyData

(Inherited from Exception.)

System_CAPS_pubpropertyHelpLink

Gets the Help link for further information from Microsoft about the SMO exception.(Inherited from SmoException.)

System_CAPS_pubpropertyHResult

(Inherited from Exception.)

System_CAPS_pubpropertyInnerException

(Inherited from Exception.)

System_CAPS_pubpropertyMessage

Gets the message that describes the current exception.(Overrides Exception.Message.)

System_CAPS_pubpropertyServerVersion

Gets the version of the instance of Microsoft SQL Server that raised the exception.

System_CAPS_pubpropertySmoExceptionType

Gets the type of exception.(Overrides SmoException.SmoExceptionType.)

System_CAPS_pubpropertySource

(Inherited from Exception.)

System_CAPS_pubpropertyStackTrace

(Inherited from Exception.)

System_CAPS_pubpropertyTargetSite

(Inherited from Exception.)

NameDescription
System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_pubmethodGetBaseException()

(Inherited from Exception.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetObjectData(SerializationInfo, StreamingContext)

Override based on the virtual T:System.Runtime.Serialization.SerializationInfo.GetObjectData method. .(Overrides Exception.GetObjectData(SerializationInfo, StreamingContext).)

System_CAPS_pubmethodGetType()

(Inherited from Exception.)

System_CAPS_protmethodSetHelpContext(String)

Sets the Help context value for the referenced exception.(Inherited from SmoException.)

System_CAPS_pubmethodToString()

(Inherited from Exception.)

Any public static (Shared in Microsoft Visual Basic) members of this type are safe for multithreaded operations. Any instance members are not guaranteed to be thread safe.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show:
© 2016 Microsoft