LastBackup özelliği

Bu özellik Microsoft SQL Server'ın ilerideki bir sürümünde kaldırılacaktır. Yeni geliştirme işlerinde bu özelliği kullanmaktan kaçının ve bu özelliği kullanmakta olan uygulamalarda değişiklik yapmayı planlayın.

The LastBackup property identifies the most recent date and time at which a backup operation was performed against the referenced transaction log.

Sözdizimi

object
.LastBackup

Bölümleri

  • nesne
    Bir nesneye uygulanan listesinde sonucunu veren bir ifade

Veri Türü

String

Değiştirilebilir

Salt okunur

Prototip (c/C++)

HRESULT GetLastBackup(SQLDMO_LPBSTR pRetVal);

Not

sql Distributed Management Objects (sql-dmo) dizeleri her zaman ole bstr döndürülür.c/C++ uygulama dize bir başvuru alır.Uygulama başvurusu kullanarak serbest bırakmanız gerekir SysFreeString.

Açıklamalar

The LastBackup property date is reported as a string, formatted as yyyy**/mm/dd hh:mn:ss.**fff where yyyy represents the year in four digits; mm represents the month in two digits; dd represents the day in two digits; hh represents the hour in two digits using a twenty-four hour clock; mn represents the minute in two digits; ss represents the second in two digits; and fff represents the thousandth of a second in three digits.

İçin geçerlidir: