共用方式為


IConnectionSecurityContext.SecureSqlStandardPassword 屬性

Gets or sets the password when using SQL server authentication.

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

語法

'宣告
Property SecureSqlStandardPassword As SecureString 
    Get 
    Set
'用途
Dim instance As IConnectionSecurityContext 
Dim value As SecureString 

value = instance.SecureSqlStandardPassword

instance.SecureSqlStandardPassword = value
SecureString SecureSqlStandardPassword { get; set; }
property SecureString^ SecureSqlStandardPassword {
    SecureString^ get ();
    void set (SecureString^ value);
}
abstract SecureSqlStandardPassword : SecureString with get, set
function get SecureSqlStandardPassword () : SecureString 
function set SecureSqlStandardPassword (value : SecureString)

屬性值

型別:System.Security.SecureString
The password when using SQL server authentication.

請參閱

參考

IConnectionSecurityContext 介面

Microsoft.SqlServer.Replication 命名空間