Condividi tramite


SubscriberSubscription.LastAgentSyncDateTime Property

Gets or sets the date and time of the last run of the synchronization agent.

Spazio dei nomi: Microsoft.SqlServer.Replication
Assembly : Microsoft.SqlServer.Rmo (in microsoft.sqlserver.rmo.dll)

Sintassi

'Dichiarazione
Public Property LastAgentSyncDateTime As String
public string LastAgentSyncDateTime { get; set; }
public:
property String^ LastAgentSyncDateTime {
    String^ get ();
    void set (String^ value);
}
/** @property */
public String get_LastAgentSyncDateTime ()

/** @property */
public void set_LastAgentSyncDateTime (String value)
public function get LastAgentSyncDateTime () : String

public function set LastAgentSyncDateTime (value : String)

Valore proprietà

A String value that represents and date and time value.

Osservazioni

The date and time data is formatted as YYYYMMDD hh:mm:ss.fff, where:

  • YYYY represents the year in four digits.

  • MM represents the month in two digits (zero padded).

  • DD represents the day of the month in two digits (zero padded).

  • hh represents the hour using two digits, and a twenty-four hour clock (zero padded).

  • mm represents the minute in two digits (zero padded).

  • ss represents the second in two digits (zero padded).

  • fff represents the fractional part of the second in three digits.

For example, the value 20040512 18:12:00.000 is interpreted as 6:12 P.M., May 12, 2004.

This property can be accessed by any user.

This namespace, class, or member is supported only in version 2.0 of the .NET Framework.

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Piattaforme

Piattaforme di sviluppo

Per un elenco delle piattaforme supportate, vedere Requisiti hardware e software per l'Installazione di SQL Server 2005.

Piattaforme di destinazione

Per un elenco delle piattaforme supportate, vedere Requisiti hardware e software per l'Installazione di SQL Server 2005.

Vedere anche

Riferimento

SubscriberSubscription Class
SubscriberSubscription Members
Microsoft.SqlServer.Replication Namespace