SaveChangeWithChangeUnitsContext.GetUpdatedDestinationKnowledge Método
Obtiene objetos de conocimiento actualizado y de conocimiento olvidado que representan el estado del conocimiento de destino una vez aplicado este cambio de la unidad de cambio.
Espacio de nombres: Microsoft.Synchronization
Ensamblado: Microsoft.Synchronization (en microsoft.synchronization.dll)
Sintaxis
'Declaración
Public Sub GetUpdatedDestinationKnowledge ( _
<OutAttribute> ByRef knowledge As SyncKnowledge, _
<OutAttribute> ByRef forgottenKnowledge As ForgottenKnowledge _
)
'Uso
Dim instance As SaveChangeWithChangeUnitsContext
Dim knowledge As SyncKnowledge
Dim forgottenKnowledge As ForgottenKnowledge
instance.GetUpdatedDestinationKnowledge(knowledge, forgottenKnowledge)
public void GetUpdatedDestinationKnowledge (
out SyncKnowledge knowledge,
out ForgottenKnowledge forgottenKnowledge
)
public:
void GetUpdatedDestinationKnowledge (
[OutAttribute] SyncKnowledge^% knowledge,
[OutAttribute] ForgottenKnowledge^% forgottenKnowledge
)
public void GetUpdatedDestinationKnowledge (
/** @attribute OutAttribute() */ /** @ref */ SyncKnowledge knowledge,
/** @attribute OutAttribute() */ /** @ref */ ForgottenKnowledge forgottenKnowledge
)
JScript does not support passing value-type arguments by reference.
Parámetros
- knowledge
Devuelve el conocimiento actualizado para el destino.
- forgottenKnowledge
Devuelve el conocimiento olvidado actualizado para el destino.
Notas
Los objetos de conocimiento devueltos por este método deben reemplazar directamente los objetos de conocimiento existentes en el destino.
Antes de llamar a este método, se deben notificar los errores recuperables con RecordRecoverableErrorForChangeUnit.
Si se llama a este método más de una vez, se devuelve InvalidOperationException en cualquier llamada salvo en la primera.
Vea también
Referencia
SaveChangeWithChangeUnitsContext Clase
SaveChangeWithChangeUnitsContext Miembros
Microsoft.Synchronization Espacio de nombres