SubscriberDeviceEnumeration Constructor (NSInstance, String)
Creates and initializes an instance of the SubscriberDeviceEnumeration class.
네임스페이스: Microsoft.SqlServer.NotificationServices
어셈블리: Microsoft.SqlServer.NotificationServices (in microsoft.sqlserver.notificationservices.dll)
구문
‘선언
Public Sub New ( _
nsInstance As NSInstance, _
subscriberId As String _
)
public SubscriberDeviceEnumeration (
NSInstance nsInstance,
string subscriberId
)
public:
SubscriberDeviceEnumeration (
NSInstance^ nsInstance,
String^ subscriberId
)
public SubscriberDeviceEnumeration (
NSInstance nsInstance,
String subscriberId
)
public function SubscriberDeviceEnumeration (
nsInstance : NSInstance,
subscriberId : String
)
매개 변수
- nsInstance
An NSInstance representing the Notification Services instance that contains the subscriber devices.
- subscriberId
A String containing the subscriber ID of the subscriber with whom the devices are associated.
예
The following examples show how to create and initialize a SubscriberDeviceEnumeration in managed code:
Dim instanceName As String = "MyInstanceName"
Dim subscriberId As String = "MySubscriberID"
'Create an NSInstance object.
Dim myInstance As New NSInstance(instanceName)
'Create a SubscriberDeviceEnumeration object.
Dim mySubscriberDeviceEnumeration As _
New SubscriberDeviceEnumeration(myInstance, subscriberId)
string instanceName = "MyInstanceName";
string subscriberId = "MySubscriberID";
//Create an NSInstance object.
NSInstance myInstance = new NSInstance(instanceName);
//Create a SubscriberDeviceEnumeration object.
SubscriberDeviceEnumeration mySubscriberDeviceEnumeration =
new SubscriberDeviceEnumeration(myInstance, subscriberId);
플랫폼
개발 플랫폼
지원되는 플랫폼 목록은 SQL Server 2005 설치를 위한 하드웨어 및 소프트웨어 요구 사항을 참조하십시오.
대상 플랫폼
지원되는 플랫폼 목록은 SQL Server 2005 설치를 위한 하드웨어 및 소프트웨어 요구 사항을 참조하십시오.
참고 항목
참조
SubscriberDeviceEnumeration Class
SubscriberDeviceEnumeration Members
Microsoft.SqlServer.NotificationServices Namespace