PropertyWriteException 類別
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
當嘗試設定已被封鎖的屬性時,會拋出例外。
[System.Serializable]
public sealed class PropertyWriteException : Microsoft.SqlServer.Management.Smo.SmoException
[<System.Serializable>]
type PropertyWriteException = class
inherit SmoException
Public NotInheritable Class PropertyWriteException
Inherits SmoException
- 繼承
- 屬性
建構函式
| 名稱 | Description |
|---|---|
| PropertyWriteException() |
T:Microsoft 的建構器。SqlServer.Management.Smo.PropertyWriteException. |
| PropertyWriteException(String, Exception) |
T:Microsoft 的建構器。SqlServer.Management.Smo.PropertyWriteException. |
| PropertyWriteException(String, String, String, String) |
T:Microsoft 的建構器。SqlServer.Management.Smo.PropertyWriteException. |
| PropertyWriteException(String) |
T:Microsoft 的建構器。SqlServer.Management.Smo.PropertyWriteException. |
屬性
| 名稱 | Description |
|---|---|
| HelpLink |
會收到一個連結作為支援網站的字串。 (繼承來源 SmoException) |
| Message |
收到例外的訊息。 |
| PropertyName |
當嘗試設定已被封鎖的屬性時,會拋出例外。 |
| SmoExceptionType |
會收到 T:Microsoft 的例外類型。SqlServer.Management.Smo.SmoExceptionType enumeration. |
方法
| 名稱 | Description |
|---|---|
| GetObjectData(SerializationInfo, StreamingContext) |
序列化輔助方法。 |
| SetHelpContext(String) |
當嘗試設定已被封鎖的屬性時,會拋出例外。 (繼承來源 SmoException) |