共用方式為


SqlSyncAdapterBuilder.RowGuidColumn 屬性

取得或設定用來識別基底資料表和標記資料表中資料列之 uniqueidentifier 資料型別的資料行。

命名空間: Microsoft.Synchronization.Data.Server
組件: Microsoft.Synchronization.Data.Server (在 microsoft.synchronization.data.server.dll)

語法

'宣告
<DefaultValueAttribute(Nothing)> _
Public Property RowGuidColumn As String
'用途
Dim instance As SqlSyncAdapterBuilder
Dim value As String

value = instance.RowGuidColumn

instance.RowGuidColumn = value
[DefaultValueAttribute(null)] 
public string RowGuidColumn { get; set; }
[DefaultValueAttribute(nullptr)] 
public:
property String^ RowGuidColumn {
    String^ get ();
    void set (String^ value);
}
/** @property */
public String get_RowGuidColumn ()

/** @property */
public void set_RowGuidColumn (String value)
public function get RowGuidColumn () : String

public function set RowGuidColumn (value : String)

屬性值

此資料行在基底資料表和刪除標記資料表中的名稱。

備註

若要指定這個屬性,基底資料表和刪除標記資料表中都必須有相同名稱的資料行和適當的資料型別存在。如果未指定這個屬性,會在同步處理期間使用資料表的主索引鍵來識別資料列。

請參閱

參考

SqlSyncAdapterBuilder 類別
SqlSyncAdapterBuilder 成員
Microsoft.Synchronization.Data.Server 命名空間