Clase PasswordWriteOnlyException
The exception that is thrown when a replication agent password property is accessed.
Jerarquía de herencia
System. . :: . .Object
System. . :: . .Exception
Microsoft.SqlServer.Replication. . :: . .ReplicationAgentException
Microsoft.SqlServer.Replication..::..PasswordWriteOnlyException
Espacio de nombres: Microsoft.SqlServer.Replication
Ensamblado: Microsoft.SqlServer.Replication (en Microsoft.SqlServer.Replication.dll)
Sintaxis
'Declaración
<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
El tipo PasswordWriteOnlyException expone los siguientes miembros.
Constructores
Nombre | Descripción | |
---|---|---|
PasswordWriteOnlyException() () () () | Creates a new instance of the PasswordWriteOnlyException class. | |
PasswordWriteOnlyException(String) | Creates a new instance of the PasswordWriteOnlyException class with a specified error message. | |
PasswordWriteOnlyException(SerializationInfo, StreamingContext) | Creates a new instance of the PasswordWriteOnlyException class with serialized data. | |
PasswordWriteOnlyException(String, Exception) | Creates a new instance of the PasswordWriteOnlyException class with a specified error message and a reference to the inner exception that is the cause of this exception. |
Arriba
Propiedades
Nombre | Descripción | |
---|---|---|
Data | (Se hereda de Exception.) | |
HelpLink | (Se hereda de Exception.) | |
HResult | (Se hereda de Exception.) | |
InnerException | (Se hereda de Exception.) | |
Message | (Se hereda de Exception.) | |
MessageCode | Gets the error code of the underlying error. (Se hereda de ReplicationAgentException.) | |
Source | (Se hereda de Exception.) | |
StackTrace | (Se hereda de Exception.) | |
TargetSite | (Se hereda de Exception.) |
Arriba
Métodos
Nombre | Descripción | |
---|---|---|
Equals | (Se hereda de Object.) | |
Finalize | (Se hereda de Object.) | |
GetBaseException | (Se hereda de Exception.) | |
GetHashCode | (Se hereda de Object.) | |
GetObjectData | Sets the specified SerializationInfo with information about the exception. (Se hereda de ReplicationAgentException.) | |
GetType | (Se hereda de Exception.) | |
MemberwiseClone | (Se hereda de Object.) | |
ToString | (Se hereda de Exception.) |
Arriba
Comentarios
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.
Seguridad para subprocesos
Cualquier miembro público static (Shared en Visual Basic) de este tipo es seguro para subprocesos. No se garantiza que los miembros de instancia sean seguros para subprocesos.