다음을 통해 공유


NSInstance.SqlUser Property

Sets the user name of the Microsoft SQL Server login account that your application uses to connect to SQL Server.

네임스페이스: Microsoft.SqlServer.NotificationServices
어셈블리: Microsoft.SqlServer.NotificationServices (in microsoft.sqlserver.notificationservices.dll)

구문

‘선언
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)

속성 값

A String containing the user name of the SQL Server login account.

주의

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.

ms148812.note(ko-kr,SQL.90).gif중요:
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.

스레드 보안

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.

플랫폼

개발 플랫폼

지원되는 플랫폼 목록은 SQL Server 2005 설치를 위한 하드웨어 및 소프트웨어 요구 사항을 참조하십시오.

대상 플랫폼

지원되는 플랫폼 목록은 SQL Server 2005 설치를 위한 하드웨어 및 소프트웨어 요구 사항을 참조하십시오.

참고 항목

참조

NSInstance Class
NSInstance Members
Microsoft.SqlServer.NotificationServices Namespace