NSInstance.SqlUser Property
Sets the user name of the Microsoft SQL Server login account that your application uses to connect to SQL Server.
Namespace: Microsoft.SqlServer.NotificationServices
Assembly: Microsoft.SqlServer.NotificationServices (in microsoft.sqlserver.notificationservices.dll)
Syntax
'Declaration
Public WriteOnly Property SqlUser As String
public string SqlUser { set; }
public:
virtual property String^ SqlUser {
void set (String^ value) sealed;
}
/** @property */
public final void set_SqlUser (String value)
public final function set SqlUser (value : String)
Property Value
A String containing the user name of the SQL Server login account.
Remarks
This property needs to be set only if you are using SQL Server Authentication to connect to the SQL Server instance that hosts your Notification Services databases.
SqlUser is used in conjunction with the SqlPassword property to specify the username and password of the SQL Server login account that the application uses to access the Notification Services databases. If these values are not specified, Microsoft Windows Authentication is used.
Important
Microsoft strongly recommends that you use Windows Authentication rather than SQL Server Authentication. Windows Authentication provides better security features, such as secure validation and encryption of passwords, auditing, password expiration, minimum password length, and account lockout after multiple invalid login requests.
Thread Safety
Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Development Platforms
For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.
Target Platforms
For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.
See Also
Reference
NSInstance Class
NSInstance Members
Microsoft.SqlServer.NotificationServices Namespace