public override string ToString() { VDI vdi = null; if (vbd != null && vbd.Connection != null) { vdi = vbd.Connection.Resolve(vbd.VDI); } if (vbd == null) { return(position); } if (vdi != null) { return(string.Format(Messages.VBD_EDIT_CURRENTLY_IN_USE_BY, position, vdi.ToString().Ellipsise(30))); } return(string.Format(Messages.VBD_EDIT_CURRENTLY_IN_USE, position)); }