Поделиться через


Свойство TimeZoneAdjustment

Gets the difference, in minutes, between the local time midnight on the target server and midnight Coordinated Universal Time (Greenwich Mean Time).

Пространство имен:  Microsoft.SqlServer.Management.Smo.Agent
Сборка:  Microsoft.SqlServer.Smo (в Microsoft.SqlServer.Smo.dll)

Синтаксис

'Декларация
<SfcPropertyAttribute> _
Public ReadOnly Property TimeZoneAdjustment As Integer
    Get
'Применение
Dim instance As TargetServer
Dim value As Integer

value = instance.TimeZoneAdjustment
[SfcPropertyAttribute]
public int TimeZoneAdjustment { get; }
[SfcPropertyAttribute]
public:
property int TimeZoneAdjustment {
    int get ();
}
[<SfcPropertyAttribute>]
member TimeZoneAdjustment : int
function get TimeZoneAdjustment () : int

Значение свойства

Тип System. . :: . .Int32
An Int32 value that specifies the number of minutes time difference between the referenced target server and Greenwich Mean Time.

Замечания

The LocalTime property and the TimeZoneAdjustment property can be used to correctly schedule multiserver administration tasks where the master server and the target server are in different time zones.