Пример #1
0
 private void MountCloudDrive()
 {
     // If specified, mount a cloud drive
     string cloudDrive = RoleEnvironment.GetConfigurationSettingValue(CLOUD_DRIVE);
     if (cloudDrive != "")
     {
         int cloudDriveSize = Int32.Parse(RoleEnvironment.GetConfigurationSettingValue(CLOUD_DRIVE_SIZE));
         cloudDrive = ExpandKeywords(cloudDrive);
         string[] parts = cloudDrive.Split('\\');
         MountCloudDrive(parts[0], parts[1], cloudDriveSize);
     }
 }