Partager 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.

Espace de noms: Microsoft.SqlServer.NotificationServices
Assembly: Microsoft.SqlServer.NotificationServices (in microsoft.sqlserver.notificationservices.dll)

Syntaxe

'Déclaration
<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

Notes

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

Sécurité des threads

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.

Plateformes

Plateformes de développement

Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.

Plateformes cibles

Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.

Voir aussi

Référence

TimeZone Members
Microsoft.SqlServer.NotificationServices Namespace