ChangeBatch.GetLearnedKnowledgeWithPrerequisite 方法
获取当目标提供程序基于变更批的必备知识应用此变更批中的所有变更时,目标副本了解到的知识。
命名空间: Microsoft.Synchronization
程序集: Microsoft.Synchronization(在 microsoft.synchronization.dll 中)
语法
声明
Public Function GetLearnedKnowledgeWithPrerequisite ( _
destinationKnowledge As SyncKnowledge _
) As SyncKnowledge
用法
Dim instance As ChangeBatch
Dim destinationKnowledge As SyncKnowledge
Dim returnValue As SyncKnowledge
returnValue = instance.GetLearnedKnowledgeWithPrerequisite(destinationKnowledge)
public SyncKnowledge GetLearnedKnowledgeWithPrerequisite (
SyncKnowledge destinationKnowledge
)
public:
SyncKnowledge^ GetLearnedKnowledgeWithPrerequisite (
SyncKnowledge^ destinationKnowledge
)
public SyncKnowledge GetLearnedKnowledgeWithPrerequisite (
SyncKnowledge destinationKnowledge
)
public function GetLearnedKnowledgeWithPrerequisite (
destinationKnowledge : SyncKnowledge
) : SyncKnowledge
参数
- destinationKnowledge
仅当 destinationKnowledge 包含知识片段的必备知识时,才会将该片段添加到返回的已知知识中。
返回值
当目标提供程序基于变更批的必备知识应用此变更批中的所有变更时,目标副本了解到的知识。
异常
异常类型 | 条件 |
---|---|
必需的参数为 null 引用(在 Visual Basic 中为 Nothing)。 |