你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

TableModelFactory.TableGeoReplicationInfo Method

Definition

Initializes a new instance of TableGeoReplicationInfo.

public static Azure.Data.Tables.Models.TableGeoReplicationInfo TableGeoReplicationInfo(Azure.Data.Tables.Models.TableGeoReplicationStatus status = default, DateTimeOffset lastSyncedOn = default);
static member TableGeoReplicationInfo : Azure.Data.Tables.Models.TableGeoReplicationStatus * DateTimeOffset -> Azure.Data.Tables.Models.TableGeoReplicationInfo
Public Shared Function TableGeoReplicationInfo (Optional status As TableGeoReplicationStatus = Nothing, Optional lastSyncedOn As DateTimeOffset = Nothing) As TableGeoReplicationInfo

Parameters

status
TableGeoReplicationStatus

The status of the secondary location.

lastSyncedOn
DateTimeOffset

A GMT date/time value, to the second. All primary writes preceding this value are guaranteed to be available for read operations at the secondary. Primary writes after this point in time may or may not be available for reads.

Returns

A new TableGeoReplicationInfo instance for mocking.

Applies to