次の方法で共有


SyncSchemaTable.PrimaryKey プロパティ

テーブルの主キー列を取得または設定します。

名前空間: Microsoft.Synchronization.Data
アセンブリ: Microsoft.Synchronization.Data (microsoft.synchronization.data.dll 内)

構文

'宣言
<SuppressMessageAttribute("Microsoft.Performance", "CA1819:PropertiesShouldNotReturnArrays")> _
Public Property PrimaryKey As String()
'使用
Dim instance As SyncSchemaTable
Dim value As String()

value = instance.PrimaryKey

instance.PrimaryKey = value
[SuppressMessageAttribute("Microsoft.Performance", "CA1819:PropertiesShouldNotReturnArrays")] 
public string[] PrimaryKey { get; set; }
[SuppressMessageAttribute(L"Microsoft.Performance", L"CA1819:PropertiesShouldNotReturnArrays")] 
public:
property array<String^>^ PrimaryKey {
    array<String^>^ get ();
    void set (array<String^>^ value);
}
/** @property */
public String[] get_PrimaryKey ()

/** @property */
public void set_PrimaryKey (String[] value)
public function get PrimaryKey () : String[]

public function set PrimaryKey (value : String[])

プロパティ値

テーブルの主キー列を格納する配列。

参照

リファレンス

SyncSchemaTable クラス
SyncSchemaTable メンバー
Microsoft.Synchronization.Data 名前空間