SMS_CollectionSettings 服务器 WMI 类
SMS_CollectionSettings
Windows Management Instrumentation (WMI) 类是Configuration Manager中的 SMS 提供程序服务器类,表示SMS_Collection服务器 WMI 类对象的设置。
语法
Class SMS_CollectionSettings : SMS_BaseClass
{
UInt32 ClusterCount;
UInt32 ClusterPercentage;
UInt32 ClusterTimeout;
String CollectionID;
UInt32 CollectionVariablePrecedence;
SMS_CollectionVariable CollectionVariables[];
DateTime LastModificationTime;
UInt32 LocaleID;
UInt32 PollingInterval;
SMS_PowerConfig PowerConfigs[];
Boolean PollingIntervalEnabled;
String PostAction;
String PreAction;
UInt32 RebootCountdown;
Boolean RebootCountdownEnabled;
UInt32 RebootCountdownFinalWindow;
SMS_ServiceWindow ServiceWindows[];
String SourceSite;
UInt32 UseCluster;
UInt32 UseClusterPercentage;
};
方法
类 SMS_CollectionSettings
不定义任何方法。
属性
ClusterCount
数据类型UInt32
访问类型:读/写
限定符:无
群集中可脱机的计算机数。 默认值为 1。
ClusterPercentage
数据类型UInt32
访问类型:读/写
限定符:无
群集中可脱机的计算机的百分比。 默认值为 50。
ClusterTimeout
数据类型UInt32
访问类型:读/写
限定符:无
脚本的超时。 默认值为 600。
CollectionID
数据类型String
访问类型:读/写
限定符:[key,read]
映射到父集合的唯一键。 默认值为“”。
CollectionVariablePrecedence
数据类型UInt32
访问类型:读/写
限定符:无
用于解决冲突的优先级。 默认值为 1。
CollectionVariables
数据类型: SMS_CollectionVariable
数组
访问类型:只读
限定符:[read、lazy]
SMS_CollectionVariable表示集合变量的服务器 WMI 类对象。
LastModificationTime
数据类型DateTime
访问类型:只读
限定符:[read]
上次修改收集设置的日期和时间。
LocaleID
数据类型UInt32
访问类型:读/写
限定符:无
用于转换本地化名称和说明的区域设置 ID。 默认值为 1033 (美国英语) 。
可以从 SMS_Identification 服务器 WMI 类LocaleID
属性获取Configuration Manager安装的区域设置。
PostAction
数据类型String
访问类型:读/写
限定符:无
在更新部署后要运行的Windows PowerShell脚本。
PreAction
数据类型String
访问类型:读/写
限定符:无
在更新部署之前要运行的Windows PowerShell脚本。
PollingInterval
数据类型UInt32
访问类型:读/写
限定符:无
策略轮询间隔(以分钟为单位)。 默认值为 5。
PollingIntervalEnabled
数据类型Boolean
访问类型:读/写
限定符:无
true
如果启用了轮询间隔,则为 。 默认值为 false
。
PowerConfigs
数据类型: SMS_PowerConfig
数组
访问类型:只读
限定符:[read、lazy]
SMS_PowerConfig服务器 WMI 类对象,表示特定集合的电源配置。
RebootCountdown
数据类型UInt32
访问类型:读/写
限定符:无
重新启动倒计时。 默认值为 5。
RebootCountdownEnabled
数据类型Boolean
访问类型:读/写
限定符:无
true
如果启用了重新启动倒计时,则为 。 默认值为 false
。
RebootCountdownFinalWindow
数据类型UInt32
访问类型:读/写
限定符:无
重新启动倒计时显示最终维护时段的点。 默认值为 5。
ServiceWindows
数据类型: SMS_ServiceWindow
数组
访问类型:只读
限定符:[read、lazy]
SMS_ServiceWindow服务器 WMI 类 对象,这些对象表示用于进行集合设置的维护时段。
SourceSite
数据类型String
访问类型:只读
限定符:[SizeLimit (“3”) ,Not_null]
源站点的网站代码。
UseCluster
数据类型UInt32
访问类型:读/写
限定符:无
非零值指示集合正用作群集。 默认值为 0。
UseClusterPercentage
数据类型UInt32
访问类型:读/写
限定符:无
指定是否使用 ClusterPercentage 属性。 默认值为 1。
备注
此类的类限定符包括:
安全
有关“属性”部分中包含的类限定符和属性限定符的详细信息,请参阅 Configuration Manager 类和属性限定符。
要求
运行时要求
有关详细信息,请参阅Configuration Manager服务器运行时要求。
开发要求
有关详细信息,请参阅Configuration Manager服务器开发要求。