다음을 통해 공유


TimeZoneEnumeration Class

Represents the collection of time zones available within a given Notification Services instance. This class allows you to populate a time zone drop-down box in your subscription management application.

네임스페이스: Microsoft.SqlServer.NotificationServices
어셈블리: Microsoft.SqlServer.NotificationServices (in microsoft.sqlserver.notificationservices.dll)

구문

‘선언
<ClassInterfaceAttribute(ClassInterfaceType.None)> _
<ComVisibleAttribute(True)> _
<GuidAttribute("37FA0C06-322D-32EE-B019-06F40E778667")> _
<DefaultMemberAttribute("Item")> _
Public Class TimeZoneEnumeration
    Implements ITimeZoneEnumeration, IEnumerable
[ClassInterfaceAttribute(ClassInterfaceType.None)] 
[ComVisibleAttribute(true)] 
[GuidAttribute("37FA0C06-322D-32EE-B019-06F40E778667")] 
[DefaultMemberAttribute("Item")] 
public class TimeZoneEnumeration : ITimeZoneEnumeration, IEnumerable
[ClassInterfaceAttribute(ClassInterfaceType::None)] 
[ComVisibleAttribute(true)] 
[GuidAttribute(L"37FA0C06-322D-32EE-B019-06F40E778667")] 
[DefaultMemberAttribute(L"Item")] 
public ref class TimeZoneEnumeration : ITimeZoneEnumeration, IEnumerable
/** @attribute ClassInterfaceAttribute(ClassInterfaceType.None) */ 
/** @attribute ComVisibleAttribute(true) */ 
/** @attribute GuidAttribute("37FA0C06-322D-32EE-B019-06F40E778667") */ 
/** @attribute DefaultMemberAttribute("Item") */ 
public class TimeZoneEnumeration implements ITimeZoneEnumeration, IEnumerable
ClassInterfaceAttribute(ClassInterfaceType.None) 
ComVisibleAttribute(true) 
GuidAttribute("37FA0C06-322D-32EE-B019-06F40E778667") 
DefaultMemberAttribute("Item") 
public class TimeZoneEnumeration implements ITimeZoneEnumeration, IEnumerable

주의

The TimeZoneEnumeration class allows an application to iterate through the set of time zones available within a given Notification Services instance. The set of time zones can be provided in any of the languages that Notification Services supports. The language of the enumeration is selected when the TimeZoneEnumeration object is initialized. This class provides an Item property to return a TimeZone object that represents a specific time zone.

Inheritance Hierarchy

System.Object
  Microsoft.SqlServer.NotificationServices.TimeZoneEnumeration

스레드 보안

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 설치를 위한 하드웨어 및 소프트웨어 요구 사항을 참조하십시오.

참고 항목

참조

TimeZoneEnumeration Members
Microsoft.SqlServer.NotificationServices Namespace