共用方式為


PasswordWriteOnlyException 類別

The exception that is thrown when a replication agent password property is accessed.

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

語法

'宣告
<SerializableAttribute> _
<ComVisibleAttribute(False)> _
Public Class PasswordWriteOnlyException _
    Inherits ReplicationAgentException
'用途
Dim instance As PasswordWriteOnlyException
[SerializableAttribute]
[ComVisibleAttribute(false)]
public class PasswordWriteOnlyException : ReplicationAgentException
[SerializableAttribute]
[ComVisibleAttribute(false)]
public ref class PasswordWriteOnlyException : public ReplicationAgentException
[<SerializableAttribute>]
[<ComVisibleAttribute(false)>]
type PasswordWriteOnlyException =  
    class
        inherit ReplicationAgentException
    end
public class PasswordWriteOnlyException extends ReplicationAgentException

備註

Replication agent password properties are read/write. To protect passwords, when accessing a password property, the PasswordWriteOnlyException is thrown instead of the actual password being returned.

繼承階層

System. . :: . .Object
  System. . :: . .Exception
    Microsoft.SqlServer.Replication. . :: . .ReplicationAgentException
      Microsoft.SqlServer.Replication..::..PasswordWriteOnlyException

執行緒安全性

這個類型的任何公用static (在 Visual Basic 中為 Shared) 成員都是安全執行緒。不保證任何執行個體成員都可以是安全執行緒。