Remarque
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de vous connecter ou de modifier des répertoires.
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de modifier des répertoires.
Creates and initializes an instance of the Subscriber class.
Espace de noms: Microsoft.SqlServer.NotificationServices
Assembly: Microsoft.SqlServer.NotificationServices (in microsoft.sqlserver.notificationservices.dll)
Syntaxe
'Déclaration
Public Sub New ( _
nsInstance As NSInstance _
)
public Subscriber (
NSInstance nsInstance
)
public:
Subscriber (
NSInstance^ nsInstance
)
public Subscriber (
NSInstance nsInstance
)
public function Subscriber (
nsInstance : NSInstance
)
Paramètres
- nsInstance
An NSInstance that represents the Notification Services instance containing the subscriber.
Exemple
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);
Plateformes
Plateformes de développement
Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.
Plateformes cibles
Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.
Voir aussi
Référence
Subscriber Class
Subscriber Members
Microsoft.SqlServer.NotificationServices Namespace