共用方式為


IConnectionSecurityContext.SqlStandardPassword 屬性

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

命名空間:  Microsoft.SqlServer.Replication
組件:  Microsoft.SqlServer.Rmo (在 Microsoft.SqlServer.Rmo.dll 中)

語法

'宣告
Property SqlStandardPassword As String 
    Get 
    Set
'用途
Dim instance As IConnectionSecurityContext 
Dim value As String 

value = instance.SqlStandardPassword

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

屬性值

型別:System.String
The password.

請參閱

參考

IConnectionSecurityContext 介面

Microsoft.SqlServer.Replication 命名空間