共用方式為


SyncSource 屬性

注意:此 API 已經過時。 非過時的替代方式是 [Microsoft.Synchronization.Data.DataSyncException.SyncSource]。

取得或設定擲回此例外狀況的元件名稱。

命名空間:  Microsoft.Synchronization
組件:  Microsoft.Synchronization (在 Microsoft.Synchronization.dll 中)

語法

'宣告
<ObsoleteAttribute("You are attempting to reference properties that have been moved.  Please reference the properties in Microsoft.Synchronization.Data.DataSyncException instead.",  _
    True)> _
Public Property SyncSource As Object
    Get
    Set
'用途
Dim instance As SyncException
Dim value As Object

value = instance.SyncSource

instance.SyncSource = value
[ObsoleteAttribute("You are attempting to reference properties that have been moved.  Please reference the properties in Microsoft.Synchronization.Data.DataSyncException instead.", 
    true)]
public Object SyncSource { get; set; }
[ObsoleteAttribute(L"You are attempting to reference properties that have been moved.  Please reference the properties in Microsoft.Synchronization.Data.DataSyncException instead.", 
    true)]
public:
property Object^ SyncSource {
    Object^ get ();
    void set (Object^ value);
}
[<ObsoleteAttribute("You are attempting to reference properties that have been moved.  Please reference the properties in Microsoft.Synchronization.Data.DataSyncException instead.", 
    true)>]
member SyncSource : Object with get, set
function get SyncSource () : Object
function set SyncSource (value : Object)

屬性值

型別:System. . :: . .Object
傳回此例外狀況的元件名稱。此成員已過時而且一律傳回 nullNothingnullptrunitnull 參考 (在 Visual Basic 中為 Nothing)。

備註

此成員已過時而且不應該使用。請改用 Microsoft.Synchronization.Data.DataSyncException

請參閱

參考

SyncException類別

SyncException 成員

Microsoft.Synchronization 命名空間