Dela via


ConnectionSecurityContext.SqlStandardLogin Property

Gets or sets the login used with SQL Server Authentication.

Namespace:  Microsoft.SqlServer.Replication
Assembly:  Microsoft.SqlServer.Rmo (in Microsoft.SqlServer.Rmo.dll)

Syntax

'Declaration
Public Property SqlStandardLogin As String
    Get
    Set
'Usage
Dim instance As ConnectionSecurityContext
Dim value As String

value = instance.SqlStandardLogin

instance.SqlStandardLogin = value
public string SqlStandardLogin { get; set; }
public:
virtual property String^ SqlStandardLogin {
    String^ get () sealed;
    void set (String^ value) sealed;
}
abstract SqlStandardLogin : string with get, set
override SqlStandardLogin : string with get, set
final function get SqlStandardLogin () : String
final function set SqlStandardLogin (value : String)

Property Value

Type: System.String
A String value that specifies the login.

Implements

IConnectionSecurityContext.SqlStandardLogin

Remarks

When possible, use Windows Authentication.

This namespace, class, or member is supported only in the .NET Framework 2.0.