ConnectionSecurityContext.SqlStandardPassword 属性

Gets or sets the password for the login required for SQL Server Authentication.

命名空间:  Microsoft.SqlServer.Replication
程序集:  Microsoft.SqlServer.Rmo(在 Microsoft.SqlServer.Rmo.dll 中)

语法

声明
Public Property SqlStandardPassword As String 
    Get 
    Set
用法
Dim instance As ConnectionSecurityContext 
Dim value As String 

value = instance.SqlStandardPassword

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

属性值

类型:System.String
A String value that specifies the password for the login required for SQL Server Authentication.

实现

IConnectionSecurityContext.SqlStandardPassword

注释

请尽可能使用 Windows 身份验证。

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

请参阅

参考

ConnectionSecurityContext 类

Microsoft.SqlServer.Replication 命名空间