共用方式為


SubscriberLocaleEnumeration Class

Represents the collection of subscriber locales available within a given Notification Services instance.

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

語法

'宣告
<GuidAttribute("A0F0ED4B-26EB-38DC-99CE-77061CB168CE")> _
<DefaultMemberAttribute("Item")> _
<ComVisibleAttribute(True)> _
<ClassInterfaceAttribute(ClassInterfaceType.None)> _
Public Class SubscriberLocaleEnumeration
    Implements ISubscriberLocaleEnumeration, IEnumerable
[GuidAttribute("A0F0ED4B-26EB-38DC-99CE-77061CB168CE")] 
[DefaultMemberAttribute("Item")] 
[ComVisibleAttribute(true)] 
[ClassInterfaceAttribute(ClassInterfaceType.None)] 
public class SubscriberLocaleEnumeration : ISubscriberLocaleEnumeration, IEnumerable
[GuidAttribute(L"A0F0ED4B-26EB-38DC-99CE-77061CB168CE")] 
[DefaultMemberAttribute(L"Item")] 
[ComVisibleAttribute(true)] 
[ClassInterfaceAttribute(ClassInterfaceType::None)] 
public ref class SubscriberLocaleEnumeration : ISubscriberLocaleEnumeration, IEnumerable
/** @attribute GuidAttribute("A0F0ED4B-26EB-38DC-99CE-77061CB168CE") */ 
/** @attribute DefaultMemberAttribute("Item") */ 
/** @attribute ComVisibleAttribute(true) */ 
/** @attribute ClassInterfaceAttribute(ClassInterfaceType.None) */ 
public class SubscriberLocaleEnumeration implements ISubscriberLocaleEnumeration, IEnumerable
GuidAttribute("A0F0ED4B-26EB-38DC-99CE-77061CB168CE") 
DefaultMemberAttribute("Item") 
ComVisibleAttribute(true) 
ClassInterfaceAttribute(ClassInterfaceType.None) 
public class SubscriberLocaleEnumeration implements ISubscriberLocaleEnumeration, IEnumerable

備註

The SubscriberLocaleEnumeration class allows an application to iterate through the set of valid subscriber locales. It also provides an Item property to return a SubscriberLocale object that represents a specific locale.

This class allows you to populate a subscriber locale drop-down box in your subscription management application.

Inheritance Hierarchy

System.Object
  Microsoft.SqlServer.NotificationServices.SubscriberLocaleEnumeration

執行緒安全性

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 的硬體和軟體需求>。

請參閱

參考

SubscriberLocaleEnumeration Members
Microsoft.SqlServer.NotificationServices Namespace