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