Classe PasswordWriteOnlyException
The exception that is thrown when a replication agent password property is accessed.
Namespace: Microsoft.SqlServer.Replication
Assembly: Microsoft.SqlServer.Replication (em Microsoft.SqlServer.Replication.dll)
Sintaxe
'Declaração
<SerializableAttribute> _
<ComVisibleAttribute(False)> _
Public Class PasswordWriteOnlyException _
Inherits ReplicationAgentException
'Uso
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
Comentários
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.
Hierarquia de herança
System. . :: . .Object
System. . :: . .Exception
Microsoft.SqlServer.Replication. . :: . .ReplicationAgentException
Microsoft.SqlServer.Replication..::..PasswordWriteOnlyException
Segurança de thread
Quaisquer membros static (Shared no Visual Basic) públicos deste tipo são thread-safe. Não há garantia de que qualquer membro de instância seja thread-safe.
Consulte também