CollectionNotAvailableException 成員
The CollectionNotAvailableException class is an exception that is raised when an attempt is made to retrieve a collection that is not available.
CollectionNotAvailableException 型別公開下列成員。
建構函式
名稱 | 描述 | |
---|---|---|
CollectionNotAvailableException() () () () | Initializes a new instance of the CollectionNotAvailableException class. | |
CollectionNotAvailableException(String) | Initializes a new instance of the CollectionNotAvailableException class with the specified message text. | |
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. | |
CollectionNotAvailableException(String, Exception) | Initializes a new instance of the CollectionNotAvailableException class with the specified message text and inner exception. |
頂端
方法
名稱 | 描述 | |
---|---|---|
Equals | (繼承自 Object。) | |
Finalize | (繼承自 Object。) | |
GetBaseException | (繼承自 Exception。) | |
GetHashCode | (繼承自 Object。) | |
GetObjectData | (覆寫 Exception. . :: . .GetObjectData(SerializationInfo, StreamingContext)。) | |
GetType | (繼承自 Exception。) | |
MemberwiseClone | (繼承自 Object。) | |
SetHelpContext | Sets the Help context value for the referenced exception. (繼承自 SmoException。) | |
ToString | (繼承自 Exception。) |
頂端
屬性
名稱 | 描述 | |
---|---|---|
CollectionName | Gets the name of the collection that is not available. | |
Data | (繼承自 Exception。) | |
HelpLink | Gets the Help link for further information from Microsoft about the SMO exception. (繼承自 SmoException。) | |
HResult | (繼承自 Exception。) | |
InnerException | (繼承自 Exception。) | |
Message | Gets the message that describes the current exception. (覆寫 Exception. . :: . .Message。) | |
ServerVersion | Gets the version of the instance of Microsoft SQL Server that raised the exception. | |
SmoExceptionType | Gets the type of exception. (覆寫 SmoException. . :: . .SmoExceptionType。) | |
Source | (繼承自 Exception。) | |
StackTrace | (繼承自 Exception。) | |
TargetSite | (繼承自 Exception。) |
頂端