SharePoint 种子计算机 DiscoveryProvider

Microsoft.SharePoint.Library.SPSeed.DiscoveryProvider (DataSourceModuleType)

用于发现 SharePoint 种子计算机的发现提供程序。

Element properties:

TypeDataSourceModuleType
IsolationAny
AccessibilityPublic
RunAsMicrosoft.SharePoint.Library.AdminAccount
OutputTypeSystem.Discovery.Data

Member Modules:

ID Module Type TypeId RunAs 
DS DataSource Microsoft.SharePoint.Library.FilteredRegistryDiscoveryProvider Default

Overrideable Parameters:

IDParameterTypeSelectorDisplay NameDescription
SyncTimestring$Config/SyncTime$SyncTimeDiscoveryProvider 针对 SharePoint 种子计算机提供的 SyncTime(开始时间)属性。SyncTime 是采用“HH:mm”格式的字符串值。SyncTime、IntervalSeconds 和管理包导入时间一起确定给定工作流的确切运行时间。例如,如果 IntervalSeconds = 21600(6 小时)且 SyncTime = "01:15",工作流的可能运行时间是凌晨 1:15、上午 7:15、下午 1:15、晚上 7:15;如果此管理包在凌晨 1:15 之后上午 7:15 之前导入,它将在上午 7:15 启动,如果此管理包在下午 1:15 之后晚上 7:15 之前导入,它将在晚上 7:15 启动。但是,由于其他因素(如网络延迟),实际开始时间可能仍会有所不同。
IntervalSecondsstring$Config/IntervalSeconds$IntervalSecondsDiscoveryProvider 针对 SharePoint 种子计算机提供的 IntervalSeconds 属性。此发现将执行的频率(以秒为单位)。

Source Code:

<DataSourceModuleType ID="Microsoft.SharePoint.Library.SPSeed.DiscoveryProvider" Accessibility="Public" RunAs="Microsoft.SharePoint.Library.AdminAccount">
<Configuration>
<IncludeSchemaTypes>
<SchemaType>System!System.Discovery.MapperSchema</SchemaType>
</IncludeSchemaTypes>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="ComputerName" type="xsd:string"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="IntervalSeconds" type="xsd:integer"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="SyncTime" type="xsd:string"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="ClassId" type="xsd:string"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="RegistryKey" type="xsd:string"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="InstanceSettings" minOccurs="0" maxOccurs="1" type="SettingsType"/>
</Configuration>
<OverrideableParameters>
<OverrideableParameter ID="IntervalSeconds" Selector="$Config/IntervalSeconds$" ParameterType="string"/>
<OverrideableParameter ID="SyncTime" Selector="$Config/SyncTime$" ParameterType="string"/>
</OverrideableParameters>
<ModuleImplementation Isolation="Any">
<Composite>
<MemberModules>
<DataSource ID="DS" TypeID="Microsoft.SharePoint.Library.FilteredRegistryDiscoveryProvider">
<ComputerName>$Config/ComputerName$</ComputerName>
<RegistryAttributeDefinitions>
<RegistryAttributeDefinition>
<AttributeName>IsInstalled</AttributeName>
<Path>$Config/RegistryKey$</Path>
<PathType>0</PathType>
<AttributeType>0</AttributeType>
</RegistryAttributeDefinition>
</RegistryAttributeDefinitions>
<IntervalSeconds>$Config/IntervalSeconds$</IntervalSeconds>
<SyncTime>$Config/SyncTime$</SyncTime>
<ClassId>$Config/ClassId$</ClassId>
<InstanceSettings>$Config/InstanceSettings$</InstanceSettings>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="Boolean">Values/IsInstalled</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="Boolean">true</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</DataSource>
</MemberModules>
<Composition>
<Node ID="DS"/>
</Composition>
</Composite>
</ModuleImplementation>
<OutputType>System!System.Discovery.Data</OutputType>
</DataSourceModuleType>