Nota
L'accesso a questa pagina richiede l'autorizzazione. È possibile provare ad accedere o modificare le directory.
L'accesso a questa pagina richiede l'autorizzazione. È possibile provare a modificare le directory.
Creates and initializes an instance of the Subscriber class.
Spazio dei nomi: Microsoft.SqlServer.NotificationServices
Assembly : Microsoft.SqlServer.NotificationServices (in microsoft.sqlserver.notificationservices.dll)
Sintassi
'Dichiarazione
Public Sub New ( _
nsInstance As NSInstance _
)
public Subscriber (
NSInstance nsInstance
)
public:
Subscriber (
NSInstance^ nsInstance
)
public Subscriber (
NSInstance nsInstance
)
public function Subscriber (
nsInstance : NSInstance
)
Parametri
- nsInstance
An NSInstance that represents the Notification Services instance containing the subscriber.
Esempio
The following examples show how to create and initialize a Subscriber object in managed code:
Dim instanceName As String = "Tutorial"
' Create the NSInstance object.
Dim testInstance As NSInstance = New NSInstance(instanceName)
' Create the Subscriber object.
Dim testSubscriber As Subscriber = New Subscriber(testInstance)
// Create the NSInstance object.
NSInstance testInstance = new NSInstance(instanceName);
// Create the Subscriber object.
Subscriber testSubscriber = new Subscriber(testInstance);
Piattaforme
Piattaforme di sviluppo
Per un elenco delle piattaforme supportate, vedere Requisiti hardware e software per l'Installazione di SQL Server 2005.
Piattaforme di destinazione
Per un elenco delle piattaforme supportate, vedere Requisiti hardware e software per l'Installazione di SQL Server 2005.
Vedere anche
Riferimento
Subscriber Class
Subscriber Members
Microsoft.SqlServer.NotificationServices Namespace