DevicePolicyManager.GetManagedProfileMaximumTimeOff(ComponentName) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
由组织拥有的托管配置文件的配置文件所有者调用,以获取允许关闭配置文件的最长时间。
[Android.Runtime.Register("getManagedProfileMaximumTimeOff", "(Landroid/content/ComponentName;)J", "GetGetManagedProfileMaximumTimeOff_Landroid_content_ComponentName_Handler", ApiSince=30)]
public virtual long GetManagedProfileMaximumTimeOff(Android.Content.ComponentName admin);
[<Android.Runtime.Register("getManagedProfileMaximumTimeOff", "(Landroid/content/ComponentName;)J", "GetGetManagedProfileMaximumTimeOff_Landroid_content_ComponentName_Handler", ApiSince=30)>]
abstract member GetManagedProfileMaximumTimeOff : Android.Content.ComponentName -> int64
override this.GetManagedProfileMaximumTimeOff : Android.Content.ComponentName -> int64
参数
- admin
- ComponentName
DeviceAdminReceiver此请求与
返回
允许配置文件的最长关闭时间(以毫秒为单位),如果不受限制,则为 0。
- 属性
注解
由组织拥有的托管配置文件的配置文件所有者调用,以获取允许关闭配置文件的最长时间。
本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。