共用方式為


SnapshotGenerationAgent.SecureDistributorEncryptedPassword 屬性

此 API 支援 SQL Server 2012 基礎結構,但無法直接從您的程式碼使用。

Sets the encrypted password used when connecting locally to the Distributor using SQL Server Authentication.

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

語法

'宣告
<ComVisibleAttribute(False)> _
Public Property SecureDistributorEncryptedPassword As SecureString 
    Get 
    Set
'用途
Dim instance As SnapshotGenerationAgent 
Dim value As SecureString 

value = instance.SecureDistributorEncryptedPassword

instance.SecureDistributorEncryptedPassword = value
[ComVisibleAttribute(false)]
public SecureString SecureDistributorEncryptedPassword { get; set; }
[ComVisibleAttribute(false)]
public:
property SecureString^ SecureDistributorEncryptedPassword {
    SecureString^ get ();
    void set (SecureString^ value);
}
[<ComVisibleAttribute(false)>]
member SecureDistributorEncryptedPassword : SecureString with get, set
function get SecureDistributorEncryptedPassword () : SecureString 
function set SecureDistributorEncryptedPassword (value : SecureString)

屬性值

型別:System.Security.SecureString
The encrypted password used when connecting locally to the Distributor using SQL Server Authentication.

請參閱

參考

SnapshotGenerationAgent 類別

Microsoft.SqlServer.Replication 命名空間