共用方式為


TimeZone Class

Represents a valid time zone. Exists to support a set of time zone properties and expose them for use in your subscription management application.

命名空間: Microsoft.SqlServer.NotificationServices
組件: Microsoft.SqlServer.NotificationServices (in microsoft.sqlserver.notificationservices.dll)

語法

'宣告
<GuidAttribute("99188591-E0F8-4988-8244-974C94052022")> _
<ComVisibleAttribute(True)> _
<ClassInterfaceAttribute(ClassInterfaceType.None)> _
Public Class TimeZone
    Implements ITimeZone
[GuidAttribute("99188591-E0F8-4988-8244-974C94052022")] 
[ComVisibleAttribute(true)] 
[ClassInterfaceAttribute(ClassInterfaceType.None)] 
public class TimeZone : ITimeZone
[GuidAttribute(L"99188591-E0F8-4988-8244-974C94052022")] 
[ComVisibleAttribute(true)] 
[ClassInterfaceAttribute(ClassInterfaceType::None)] 
public ref class TimeZone : ITimeZone
/** @attribute GuidAttribute("99188591-E0F8-4988-8244-974C94052022") */ 
/** @attribute ComVisibleAttribute(true) */ 
/** @attribute ClassInterfaceAttribute(ClassInterfaceType.None) */ 
public class TimeZone implements ITimeZone
GuidAttribute("99188591-E0F8-4988-8244-974C94052022") 
ComVisibleAttribute(true) 
ClassInterfaceAttribute(ClassInterfaceType.None) 
public class TimeZone implements ITimeZone

備註

An object of the TimeZone class represents a valid time zone. A time zone ID is used in setting subscription schedule information.

The TimeZone class has no constructor. To create a TimeZone object, you must return one from the Item property.

For a list of time zones supported by Notification Services, see Time Zone Codes.

Inheritance Hierarchy

System.Object
  Microsoft.SqlServer.NotificationServices.TimeZone

執行緒安全性

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.

平台

開發平台

如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。

目標平台

如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。

請參閱

參考

TimeZone Members
Microsoft.SqlServer.NotificationServices Namespace