Id 屬性
取得或設定可唯一識別批次的識別碼。
命名空間: Microsoft.Synchronization.Data
組件: Microsoft.Synchronization.Data (在 Microsoft.Synchronization.Data.dll 中)
語法
'宣告
Public Property Id As String
Get
Set
'用途
Dim instance As DbSyncBatchInfo
Dim value As String
value = instance.Id
instance.Id = value
public string Id { get; set; }
public:
property String^ Id {
String^ get ();
void set (String^ value);
}
member Id : string with get, set
function get Id () : String
function set Id (value : String)
屬性值
型別:System. . :: . .String
可唯一識別批次的識別碼。
例外
例外狀況 | 條件 |
---|---|
ArgumentNullException | value 是 null Nothing nullptr unit null 參考 (在 Visual Basic 中為 Nothing) 。 |
ArgumentException | value 是空的。 |