共用方式為


ErrorConfiguration.KeyErrorAction Property

Gets or sets the action for Microsoft SQL Server 2005 Analysis Services (SSAS) to take when an error occurs on a key.

命名空間: Microsoft.AnalysisServices
組件: Microsoft.AnalysisServices (in microsoft.analysisservices.dll)

語法

'宣告
<NotifyParentPropertyAttribute(True)> _
<DefaultValueAttribute(KeyErrorAction.ConvertToUnknown)> _
Public Property KeyErrorAction As KeyErrorAction
[NotifyParentPropertyAttribute(true)] 
[DefaultValueAttribute(KeyErrorAction.ConvertToUnknown)] 
public KeyErrorAction KeyErrorAction { get; set; }
[NotifyParentPropertyAttribute(true)] 
[DefaultValueAttribute(KeyErrorAction::ConvertToUnknown)] 
public:
property KeyErrorAction KeyErrorAction {
    KeyErrorAction get ();
    void set (KeyErrorAction value);
}
/** @property */
public KeyErrorAction get_KeyErrorAction ()

/** @property */
public void set_KeyErrorAction (KeyErrorAction value)
public function get KeyErrorAction () : KeyErrorAction

public function set KeyErrorAction (value : KeyErrorAction)

屬性值

An enumeration that corresponds to the allowed values for KeyErrorAction.

執行緒安全性

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

平台

開發平台

如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。

目標平台

如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。

請參閱

參考

ErrorConfiguration Class
ErrorConfiguration Members
Microsoft.AnalysisServices Namespace