Partilhar via


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.

Namespace: Microsoft.SqlServer.NotificationServices
Assembly: Microsoft.SqlServer.NotificationServices (in microsoft.sqlserver.notificationservices.dll)

Syntax

'Declaration
<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

Remarks

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

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.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

See Also

Reference

TimeZone Members
Microsoft.SqlServer.NotificationServices Namespace