语言

CollectionNotAvailableException 类

定义

当用户请求的集合不适用于当前服务器版本时引发的异常。

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

构造函数

名称 说明
CollectionNotAvailableException()

T:Microsoft的构造函数。SqlServer.Management.Smo.CollectionNotAvailableException。

CollectionNotAvailableException(String, Exception)

T:Microsoft的构造函数。SqlServer.Management.Smo.CollectionNotAvailableException。

CollectionNotAvailableException(String, ServerVersion)

T:Microsoft的构造函数。SqlServer.Management.Smo.CollectionNotAvailableException。

CollectionNotAvailableException(String)

T:Microsoft的构造函数。SqlServer.Management.Smo.CollectionNotAvailableException。

属性

名称 说明
CollectionName

当用户请求的集合不适用于当前服务器版本时引发的异常。

HelpLink

获取指向支持网站的字符串链接。

(继承自 SmoException)
Message

获取异常的消息作为格式化字符串。

ServerVersion

当用户请求的集合不适用于当前服务器版本时引发的异常。

SmoExceptionType

从 T:Microsoft 获取执行的类型。SqlServer.Management.Smo.SmoExceptionType 枚举。

方法

名称 说明
GetObjectData(SerializationInfo, StreamingContext)

序列化帮助程序方法。

SetHelpContext(String)

当用户请求的集合不适用于当前服务器版本时引发的异常。

(继承自 SmoException)

适用于