Classe PasswordWriteOnlyException
The exception that is thrown when a replication agent password property is accessed.
Gerarchia di ereditarietà
System. . :: . .Object
System. . :: . .Exception
Microsoft.SqlServer.Replication. . :: . .ReplicationAgentException
Microsoft.SqlServer.Replication..::..PasswordWriteOnlyException
Spazio dei nomi Microsoft.SqlServer.Replication
Assembly: Microsoft.SqlServer.Replication (in Microsoft.SqlServer.Replication.dll)
Sintassi
'Dichiarazione
<SerializableAttribute> _
<ComVisibleAttribute(False)> _
Public Class PasswordWriteOnlyException _
Inherits ReplicationAgentException
'Utilizzo
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
Nel tipo PasswordWriteOnlyException sono esposti i membri seguenti.
Costruttori
Nome | Descrizione | |
---|---|---|
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. |
In alto
Proprietà
Nome | Descrizione | |
---|---|---|
Data | Ereditato da Exception. | |
HelpLink | Ereditato da Exception. | |
HResult | Ereditato da Exception. | |
InnerException | Ereditato da Exception. | |
Message | Ereditato da Exception. | |
MessageCode | Gets the error code of the underlying error. Ereditato da ReplicationAgentException. | |
Source | Ereditato da Exception. | |
StackTrace | Ereditato da Exception. | |
TargetSite | Ereditato da Exception. |
In alto
Metodi
Nome | Descrizione | |
---|---|---|
Equals | Ereditato da Object. | |
Finalize | Ereditato da Object. | |
GetBaseException | Ereditato da Exception. | |
GetHashCode | Ereditato da Object. | |
GetObjectData | Sets the specified SerializationInfo with information about the exception. Ereditato da ReplicationAgentException. | |
GetType | Ereditato da Exception. | |
MemberwiseClone | Ereditato da Object. | |
ToString | Ereditato da Exception. |
In alto
Osservazioni
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.
Protezione dei thread
I membri static (Shared in Visual Basic) pubblici di questo tipo sono affidabili. Non è invece garantita la sicurezza dei membri dell'istanza.