Condividi tramite


NSInstance Constructor (String, String, String)

Creates and initializes an instance of the NSInstance class and sets a login name and password for SQL Server Authentication.

Spazio dei nomi: Microsoft.SqlServer.NotificationServices
Assembly : Microsoft.SqlServer.NotificationServices (in microsoft.sqlserver.notificationservices.dll)

Sintassi

'Dichiarazione
Public Sub New ( _
    instanceName As String, _
    sqlUser As String, _
    sqlPassword As String _
)
public NSInstance (
    string instanceName,
    string sqlUser,
    string sqlPassword
)
public:
NSInstance (
    String^ instanceName, 
    String^ sqlUser, 
    String^ sqlPassword
)
public NSInstance (
    String instanceName, 
    String sqlUser, 
    String sqlPassword
)
public function NSInstance (
    instanceName : String, 
    sqlUser : String, 
    sqlPassword : String
)

Parametri

  • instanceName
    The name of the Notification Services instance.
  • sqlUser
    The login name to use for SQL Server Authentication.
  • sqlPassword
    The password for the sqlUser login.

Osservazioni

Data creazione:14 aprile 2006

If using Windows Authentication, use the NSInstance(String) constructor or the default constructor.

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

NSInstance Class
NSInstance Members
Microsoft.SqlServer.NotificationServices Namespace