你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
SourceLifeCycle(DataProtectionBackupDeleteSetting, DataStoreInfoBase) 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
初始化 SourceLifeCycle 的新实例。
public SourceLifeCycle (Azure.ResourceManager.DataProtectionBackup.Models.DataProtectionBackupDeleteSetting deleteAfter, Azure.ResourceManager.DataProtectionBackup.Models.DataStoreInfoBase sourceDataStore);
new Azure.ResourceManager.DataProtectionBackup.Models.SourceLifeCycle : Azure.ResourceManager.DataProtectionBackup.Models.DataProtectionBackupDeleteSetting * Azure.ResourceManager.DataProtectionBackup.Models.DataStoreInfoBase -> Azure.ResourceManager.DataProtectionBackup.Models.SourceLifeCycle
Public Sub New (deleteAfter As DataProtectionBackupDeleteSetting, sourceDataStore As DataStoreInfoBase)
参数
- deleteAfter
- DataProtectionBackupDeleteSetting
删除选项 请注意 DataProtectionBackupDeleteSetting 是基类。 根据方案,可能需要在此处分配基类的派生类,或者此属性需要强制转换为可能的派生类之一。 可用的派生类包括 DataProtectionBackupAbsoluteDeleteSetting。
- sourceDataStore
- DataStoreInfoBase
DataStoreInfo base。
例外
deleteAfter
或 sourceDataStore
为 null。